-
-
Save maxlazio/5130852afedaa028dd23 to your computer and use it in GitHub Desktop.
Revisions
-
yantonov revised this gist
Feb 17, 2015 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,8 +12,12 @@ ghc installation # get distr cd $HOME/Downloads # 64 bit wget https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.4-x86_64-unknown-linux-deb7.tar.bz2 # 32 bit # wget https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.bz2 # tar xvfj ghc-7.8.4-i386-unknown-linux-deb7.tar.bz2 cd ghc-7.8.4 # install to -
yantonov revised this gist
Feb 8, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ubuntu prerequisites # Multiprecision arithmetic library developers tools sudo apt-get install libgmp-dev zlib1g-dev -y sudo -K ghc installation -
yantonov revised this gist
Jan 28, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -88,5 +88,5 @@ ghc installation rm -rf cabal-install-1.22.0.0* # add path to cabal to PATH environment CABAL_HOME=$HOME/.cabal PATH=$CABAL_HOME/bin:$PATH -
yantonov revised this gist
Jan 8, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,7 +72,7 @@ ghc installation ghc-pkg --user recache fi # get distributive cd $HOME/Downloads curl -O https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-install-1.22.0.0.tar.gz -
yantonov revised this gist
Jan 8, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,10 +67,10 @@ ghc installation #### cabal-install # remove ghc cache (in case of reinstall) if [ -d "$HOME/.ghc/" ]; then ghc-pkg --user recache fi # get distributive cd $HOME/Downloads -
yantonov revised this gist
Jan 8, 2015 . 1 changed file with 33 additions and 28 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### How to install latest GHC 7.8.4 + cabal 1.22 on ubuntu ### ghc @@ -12,21 +12,21 @@ ghc installation # get distr cd $HOME/Downloads wget https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.4-x86_64-unknown-linux-deb7.tar.bz2 cd ghc-7.8.4 # install to mkdir $HOME/Development/bin/ghc-7.8.4 # or choose another path ./configure --prefix=$HOME/Development/bin/ghc-7.8.4 make install # symbol links cd $HOME/Development/bin ln -s `pwd`/ghc-7.8.4 ghc # add $HOME/Development/bin/ghc to $PATH # add this line to ~/.profile @@ -38,7 +38,7 @@ ghc installation # remove temporary files cd $HOME/Downloads rm -rf ghc-7.8.4* ### cabal (package manager for haskell) @@ -49,39 +49,44 @@ ghc installation # clone dist cd $HOME/Downloads curl -O https://www.haskell.org/cabal/release/cabal-1.22.0.0/Cabal-1.22.0.0.tar.gz # extract tar xzvf Cabal-1.22.0.0.tar.gz cd Cabal-1.22.0.0 # build ghc --make Setup.hs ./Setup configure --user ./Setup build ./Setup install # Remove temporary files cd $HOME/Downloads rm -rf Cabal-1.22.0.0* #### cabal-install # remove ghc cache (in case of reinstall) if [ -d "$HOME/.ghc/" ]; then ghc-pkg --user recache fi # get distributive cd $HOME/Downloads curl -O https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-install-1.22.0.0.tar.gz # extract archive tar xzvf cabal-install-1.22.0.0.tar.gz cd cabal-install-1.22.0.0 # install ./bootstrap.sh # remove temporary files cd $HOME/Downloads rm -rf cabal-install-1.22.0.0* # add path to cabal to PATH environment CABAL_HOME=$HOME/cabal PATH=$CABAL_HOME/bin:$PATH -
yantonov revised this gist
Dec 28, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,10 +49,10 @@ ghc installation # clone dist cd $HOME/Downloads wget http://www.haskell.org/cabal/release/cabal-1.20.0.3/Cabal-1.20.0.3.tar.gz # extract tar xzvf Cabal-1.20.0.3.tar.gz cd Cabal-1.20.0.3 # build ghc --make Setup.hs @@ -62,7 +62,7 @@ ghc installation # remove temporary files cd $HOME/Downloads rm -rf Cabal-1.20.0.3* #### cabal-install -
yantonov revised this gist
Oct 28, 2014 . 1 changed file with 10 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,9 +28,13 @@ ghc installation cd $HOME/Development/bin ln -s `pwd`/ghc-7.8.3 ghc # add $HOME/Development/bin/ghc to $PATH # add this line to ~/.profile export GHC_HOME=$HOME/Development/bin/ghc export PATH=$GHC_HOME/bin:${PATH} # to use updated path without log off source ~/.profile # remove temporary files cd $HOME/Downloads @@ -78,5 +82,6 @@ ghc installation rm -rf cabal-install-1.20.0.3* # add path to cabal to PATH environment # add this into ~/.profile export CABAL_HOME=$HOME/.cabal export PATH=$CABAL_HOME/bin:$PATH -
yantonov revised this gist
Oct 21, 2014 . 1 changed file with 38 additions and 37 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,78 +4,79 @@ ubuntu prerequisites # Multiprecision arithmetic library developers tools sudo apt-get install libgmp-dev -y sudo -K ghc installation # get distr cd $HOME/Downloads wget http://www.haskell.org/ghc/dist/7.8.3/ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 cd ghc-7.8.3 # install to mkdir $HOME/Development/bin/ghc-7.8.3 # or choose another path ./configure --prefix=$HOME/Development/bin/ghc-7.8.3 make install # symbol links cd $HOME/Development/bin ln -s `pwd`/ghc-7.8.3 ghc # add $HOME/Development/bin/ghc to $PATH GHC_HOME=$HOME/Development/bin/ghc PATH=$GHC_HOME/bin:${PATH} # remove temporary files cd $HOME/Downloads rm -rf ghc-7.8.3* ### cabal (package manager for haskell) # remove old rm -rf $HOME/.cabal #### cabal library # clone dist cd $HOME/Downloads wget http://www.haskell.org/cabal/release/cabal-1.20.0.2/Cabal-1.20.0.2.tar.gz # extract tar xzvf Cabal-1.20.0.2.tar.gz cd Cabal-1.20.0.2 # build ghc --make Setup.hs ./Setup configure --user ./Setup build ./Setup install # remove temporary files cd $HOME/Downloads rm -rf Cabal-1.20.0.2* #### cabal-install # get distributive cd $HOME/Downloads wget http://www.haskell.org/cabal/release/cabal-install-1.20.0.3/cabal-install-1.20.0.3.tar.gz # extract archive tar xzvf cabal-install-1.20.0.3.tar.gz cd cabal-install-1.20.0.3 # install ./bootstrap.sh # remove temporary files cd $HOME/Downloads rm -rf cabal-install-1.20.0.3* # add path to cabal to PATH environment CABAL_HOME=$HOME/.cabal PATH=$CABAL_HOME/bin:$PATH -
yantonov revised this gist
Oct 21, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,6 +38,9 @@ ghc installation ### cabal (package manager for haskell) # remove old rm -rf $HOME/.cabal #### cabal library # clone dist @@ -58,9 +61,6 @@ ghc installation rm -rf Cabal-1.20.0.2* #### cabal-install # get distributive cd $HOME/Downloads -
yantonov revised this gist
Oct 21, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### How to install latest GHC 7.8.3 + cabal 1.20.3 on ubuntu ### ghc -
yantonov revised this gist
Oct 21, 2014 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,8 +55,7 @@ ghc installation # remove temporary files cd $HOME/Downloads rm -rf Cabal-1.20.0.2* #### cabal-install @@ -76,8 +75,7 @@ ghc installation # remove temporary files cd $HOME/Downloads rm -rf cabal-install-1.20.0.3* # add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH -
yantonov revised this gist
Aug 16, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ubuntu prerequisites sudo apt-get install libgmp-dev -y sudo -K ghc installation # get distr cd $HOME/Downloads @@ -59,6 +59,9 @@ ghc distr installation rm -rf Cabal-1.20.0.0 #### cabal-install # remove old rm -rf $HOME/.cabal # get distributive cd $HOME/Downloads -
yantonov revised this gist
Aug 16, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,11 +10,13 @@ ubuntu prerequisites ghc distr installation # get distr cd $HOME/Downloads wget http://www.haskell.org/ghc/dist/7.8.3/ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 cd ghc-7.8.3 # install to mkdir $HOME/Development/bin/ghc-7.8.3 # or choose another path -
yantonov revised this gist
Aug 16, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,8 @@ ubuntu prerequisites sudo apt-get install libgmp-dev -y sudo -K ghc distr installation cd $HOME/Downloads wget http://www.haskell.org/ghc/dist/7.8.3/ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 -
yantonov revised this gist
Aug 16, 2014 . 1 changed file with 47 additions and 60 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,90 +1,77 @@ ### How to install latest GHC 7.8.3 + cabal 1.20.2 on ubuntu ### ghc ubuntu prerequisites # Multiprecision arithmetic library developers tools sudo apt-get install libgmp-dev -y sudo -K # ghc distr cd $HOME/Downloads wget http://www.haskell.org/ghc/dist/7.8.3/ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 tar xvfj ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 cd ghc-7.8.3 mkdir $HOME/Development/bin/ghc-7.8.3 # or choose another path ./configure --prefix=$HOME/Development/bin/ghc-7.8.3 make install # symbol links cd $HOME/Development/bin ln -s `pwd`/ghc-7.8.3 ghc # add $HOME/Development/bin/ghc to $PATH $ PATH=$HOME/Development/bin/ghc/bin:${PATH} # remove temporary files cd $HOME/Downloads rm ghc-7.8.3-x86_64-unknown-linux-deb7.tar.bz2 rm -rf ghc-7.8.3 ### cabal (package manager for haskell) #### cabal library # clone dist cd $HOME/Downloads wget http://www.haskell.org/cabal/release/cabal-1.20.0.2/Cabal-1.20.0.2.tar.gz # extract tar xzvf Cabal-1.20.0.2.tar.gz cd Cabal-1.20.0.2 # build ghc --make Setup.hs ./Setup configure --user ./Setup build ./Setup install # remove temporary files cd $HOME/Downloads rm Cabal-1.20.0.0.tar.gz rm -rf Cabal-1.20.0.0 #### cabal-install # get distributive cd $HOME/Downloads wget http://www.haskell.org/cabal/release/cabal-install-1.20.0.3/cabal-install-1.20.0.3.tar.gz # extract archive tar xzvf cabal-install-1.20.0.3.tar.gz cd cabal-install-1.20.0.3 # install ./bootstrap.sh # remove temporary files cd $HOME/Downloads rm cabal-install-1.20.0.0.tar.gz rm -rf cabal-install-1.20.0.0 # add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH -
yantonov revised this gist
Jul 18, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### How to install latest GHC 7.8.2 + cabal 1.20 on ubuntu ### ghc -
yantonov revised this gist
Jun 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### install latest GHC 7.8.2 + cabal 1.20 on ubuntu ### ghc -
yantonov revised this gist
Jun 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### install GHC 7.8.2 + cabal 1.20 on ubuntu ### ghc -
yantonov revised this gist
Jun 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### install latest Haskell GHC 7.8.2 + cabal 1.20 on ubuntu ### ghc -
yantonov revised this gist
Apr 22, 2014 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,10 +43,13 @@ clone dist $ cd $HOME/Downloads $ wget http://www.haskell.org/cabal/release/cabal-1.20.0.0/Cabal-1.20.0.0.tar.gz extract $ tar xzvf Cabal-1.20.0.0.tar.gz $ cd Cabal-1.20.0.0 build $ ghc --make Setup.hs $ ./Setup configure --user @@ -75,6 +78,12 @@ install $ ./bootstrap.sh remove temporary files cd $HOME/Downloads rm cabal-install-1.20.0.0.tar.gz rm -rf cabal-install-1.20.0.0 add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH -
yantonov revised this gist
Apr 22, 2014 . 1 changed file with 23 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,38 +37,45 @@ remove temporary files ### cabal (package manager for haskell) #### cabal library clone dist $ cd $HOME/Downloads $ wget http://www.haskell.org/cabal/release/cabal-1.20.0.0/Cabal-1.20.0.0.tar.gz $ tar xzvf Cabal-1.20.0.0.tar.gz $ cd Cabal-1.20.0.0 building $ ghc --make Setup.hs $ ./Setup configure --user $ ./Setup build $ ./Setup install remove temporary files cd $HOME/Downloads rm Cabal-1.20.0.0.tar.gz rm -rf Cabal-1.20.0.0 #### cabal-install get dist $ cd $HOME/Downloads $ wget http://www.haskell.org/cabal/release/cabal-install-1.20.0.0/cabal-install-1.20.0.0.tar.gz extract $ tar xzvf cabal-install-1.20.0.0.tar.gz $ cd cabal-install-1.20.0.0 install $ ./bootstrap.sh add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH -
yantonov revised this gist
Apr 16, 2014 . 1 changed file with 17 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,24 +11,30 @@ ubuntu prerequisites ghc installation $ cd $HOME/Downloads $ wget http://www.haskell.org/ghc/dist/7.8.2/ghc-7.8.2-x86_64-unknown-linux-deb7.tar.bz2 $ tar xjvf ghc-7.8.2-x86_64-unknown-linux-deb7.tar.bz2 $ cd ghc-7.8.2 $ ./configure --prefix=$HOME/Development/bin/ghc-7.8.2 # or choose another path $ make install symbol links $ cd $HOME/Development/bin $ ln -s `pwd`/ghc-7.8.2 ghc add $HOME/Development/bin/ghc to $PATH $ PATH=$HOME/Development/bin/ghc/bin:${PATH} remove temporary files cd $HOME/Downloads rm ghc-7.8.2-x86_64-unknown-linux-deb7.tar.bz2 rm -rf ghc-7.8.2 ### cabal (package manager for haskell) clone dist @@ -60,3 +66,9 @@ cabal-install add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH remove temporary files cd $HOME/Downloads rm Cabal-1.18.1.3.tar.gz rm -rf Cabal-1.18.1.3 -
yantonov revised this gist
Apr 9, 2014 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,19 +11,19 @@ ubuntu prerequisites ghc installation $ cd $HOME/Downloads $ wget http://www.haskell.org/ghc/dist/7.8.1/ghc-7.8.1-x86_64-unknown-linux-deb7.tar.bz2 $ tar xjvf ghc-7.8.1-x86_64-unknown-linux-deb7.tar.bz2 $ cd ghc-7.8.1 $ ./configure --prefix=$HOME/Development/bin/ghc-7.8.1 # or choose another path $ make install symbol links $ cd $HOME/Development/bin $ ln -s `pwd`/ghc-7.8.1 ghc add $HOME/Development/bin/ghc to $PATH -
yantonov created this gist
Apr 8, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ ### install latest GHC on ubuntu ### ghc ubuntu prerequisites # Multiprecision arithmetic library developers tools $ sudo apt-get install libgmp-dev -y $ sudo -K ghc installation $ cd $HOME/Downloads $ wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-x86_64-unknown-linux.tar.bz2 $ tar xjvf ghc-7.6.3-x86_64-unknown-linux.tar.bz2 $ cd ghc-7.6.3 $ ./configure --prefix=$HOME/Development/bin/ghc-7.6.3 # or choose another path $ make install symbol links $ cd $HOME/Development/bin $ ln -s `pwd`/ghc-7.6.3 ghc add $HOME/Development/bin/ghc to $PATH $ PATH=$HOME/Development/bin/ghc/bin:${PATH} ### cabal (package manager for haskell) clone dist $ cd $HOME/Downloads $ wget http://www.haskell.org/cabal/release/cabal-1.18.1.3/Cabal-1.18.1.3.tar.gz $ tar xzvf Cabal-1.18.1.3.tar.gz $ cd Cabal-1.18.1.3 building (from README for cabal) $ ghc --make Setup.hs $ ./Setup configure --user $ ./Setup build $ ./Setup install build $ ghc -threaded --make Setup $ ./Setup configure --user $ ./Setup build $ ./Setup install cabal-install $ cd ../cabal-install $ ./bootstrap.sh add path to cabal to PATH environment $ PATH=$HOME/.cabal/bin:$PATH