How to install latest GHC 7.8.4 + cabal 1.22 from source on ubuntu ghc ubuntu prerequisites # Multiprecision arithmetic library developers tools, zlib sudo apt-get install libgmp-dev zlib1g-dev -y sudo -K