Even if you have the Haskell platform, you can absolutely install the newer version of cabal-install (command line program cabal
). cabal install cabal-install
will put the latest version in your local cabal binary directory , i.e. ~/.cabal/bin/cabal
. To take precedence over an cabal
installed platform, be sure to be ~/.cabal/bin
ahead of your path.
What others have said is true. The Haskell platform is not intended for rolling release, and in particular, base
should not be updated as it is tied to your version of GHC. If you find that you need a newer version of the package, rather than base
just install this package. If you are having problems, it is recommended that you upgrade Ubuntu to get a newer version of GHC and / or the platform.