Installing a Haskell Development Environment on Ubuntu
Last updated:This is the setup I'll be using to learn Haskell and also Yesod Web Sites.
haskell-platform
is a package found on some Ubuntu distributions (13.10 has it and some other releases too)
$ sudo apt-get install haskell-platform
After this, use cabal
command that's been installed along with the package to install yesod-platform
( cabal update
may take an awful long time, be advised )
$ sudo cabal update
$ sudo cabal install yesod-platform
Add ~/.cabal/bin
to your path:
$ echo "PATH=$PATH:~/.cabal/bin" >> ~/.bashrc && source ~/.bashrc