- download haskell platform
wget https://www.haskell.org/platform/download/2014.2.0.0/haskell-platform-2014.2.0.0-unknown-linux-x86_64.tar.gz
- install haskell
cd /
sudo tar xvf PATH_DOWNLOADED_ZIP_FILE
sudo /usr/local/haskell/ghc-7.8.3-x86_64/bin/activate-hs
- run ghc interactive environment (ghci)
ghci
if terminal show this error
Loading package integer-gmp ... <command line>: can't load .so/.DLL for: libgmp.so (libgmp.so: cannot open shared object file: No such file or directory)
you must install libgmp-dev
sudo apt-get install libgmp-dev
for exit ghci type :quit in command line