French energy company Rubis SCA (EPA: RUI) has agreed to buy an 80% stake in domestic solar project developer and power producer Photosol SAS in an all-cash deal worth EUR 376 million (USD 423.7m).