Skip to content

Instantly share code, notes, and snippets.

@hawkup
Last active August 12, 2017 05:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkup/64f2090ce90243f539ab to your computer and use it in GitHub Desktop.
Save hawkup/64f2090ce90243f539ab to your computer and use it in GitHub Desktop.
Install Haskell on Ubuntu 14.04
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment