The compilation works differently following your distributions. We will try to provide as many tutorials as we can.
For Ubuntu-like : Ubuntu-like
For Mageia : Mageia