How to install latest GHC 7.10.1 + cabal 1.22.3.0 from source on ubuntu for your convinience these instuction is available as: gist git repo ghc ubuntu prerequisites