Programming Cyclone 5 with bootable Linux

I got the Chameleon96 FPGA, but I’m having a hard time figuring out how to program the fpga and also having linux to boot properly. Could anyone provide a guide on how to do so?

Also, can I program the FPGA after booting Linux?