X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=installing.mdwn;h=8cc4ae3814a2619497169a46cad6d9c2b8f09799;hp=dcd8d1fbe0bfa564cb095001e9941a29f98e6207;hb=4bcd0cea3eba474637bb3842c92a2b75fca45ced;hpb=d7dd23c2ace59bf557f247e57fe75190a4d1e798 diff --git a/installing.mdwn b/installing.mdwn index dcd8d1fb..8cc4ae38 100644 --- a/installing.mdwn +++ b/installing.mdwn @@ -21,8 +21,8 @@ wrong and exactly what you did to achieve joy. If you're using a Mac without MacPorts (explained below), then Chicken and OCaml will be installed under your user home; but Racket's and GHC's Installers put them into system directories. - - + + ## Identifying your system ## We'll assume you're using either Mac OS X, or Windows, or Linux. @@ -135,6 +135,7 @@ If you're using Linux or a Mac without MacPorts, then open a Terminal and type t echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bash_profile + ## Getting Scheme ## **Scheme** is one of two or three major dialects of *Lisp*, which is a large family @@ -158,9 +159,9 @@ another Scheme implementation, though, there's no compelling reason to switch. Another good Scheme implementation is [Chicken](http://www.call-cc.org). For our purposes, this is in some respects superior to Racket, and in other respects inferior. If you have any issues with installing or using Racket, you could try this out instead. You might even want to install both. - @@ -256,6 +257,7 @@ The current version of Racket is 6.1.1 (released November 2014). keyboard arrows. + ## Getting OCaml ## **Caml** is one of two major dialects of *ML*, which is another large family of @@ -321,7 +323,7 @@ The current version of OCaml is 4.02.1 (released October 2014). location. 2. Open a terminal and type: - + sh /path/to/opam_installer.sh ~/bin Except replace `/path/to` with the real location, that you noted in step 1. When prompted "Do you want OPAM to modify ~/.bash_profile and ~/.ocamlinit?", say "y". @@ -392,6 +394,7 @@ double-click and install. + ## Getting Haskell ## This last installation is less crucial than the others, since we will be focusing @@ -462,7 +465,7 @@ On **Ubuntu or Debian Linux**: * In a Terminal, type `sudo apt-get install haskell-platform`. -It's useful to know about the general [Haskell wiki](https://wiki.haskell.org) (not restricted to just GHC). They have a [Getting Started](https://wiki.haskell.org/Haskell_in_5_steps) page, which also recommends that you install the Haskell Platform. +It's useful to know about the [Haskell Wiki](https://wiki.haskell.org). They have a [Getting Started](https://wiki.haskell.org/Haskell_in_5_steps) page, which also recommends that you install the Haskell Platform. If any of the instructions above don't work, then you can try alternative instructions for [Mac](http://new-www.haskell.org/downloads/osx) or [Windows](http://new-www.haskell.org/downloads/windows) or [Ubuntu](http://new-www.haskell.org/downloads/linux). Note that this method doesn't install all the extensions that are part of the Haskell Platform, but only the core pieces of GHC. You can use Cabal to download and manage any extra extensions you turn out to need, down the road.