X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=how_to_get_the_programming_languages_running_on_your_computer.mdwn;h=e625b00d51e5d428a22a3ec1ab3a66bd6d49b437;hb=aece97c85d2cce7c1ada2c7dc63d7631539c956d;hp=848bd528e96e1702931a4b9b9e81588d09b3b3c5;hpb=bbabee363416434795a6bca73151dafac21c5fa1;p=lambda.git diff --git a/how_to_get_the_programming_languages_running_on_your_computer.mdwn b/how_to_get_the_programming_languages_running_on_your_computer.mdwn index 848bd528..e625b00d 100644 --- a/how_to_get_the_programming_languages_running_on_your_computer.mdwn +++ b/how_to_get_the_programming_languages_running_on_your_computer.mdwn @@ -310,7 +310,7 @@ The current version of OCaml is 4.02.1 (released October 2014). You can install the current version of OCaml (4.02.1, from October 2014), together with the Findlib add-on and OPAM package manager, by opening a Terminal and typing: - sudo port install ocaml caml-findlib opam + sudo port install ocaml ocaml-findlib opam As with Scheme, it's helpful to also have rlwrap installed, and to start OCaml as `rlwrap ocaml`. This gives you a nice history of the commands you've already typed, which you can scroll up and down in with your @@ -321,20 +321,25 @@ The current version of OCaml is 4.02.1 (released October 2014). Use your packaging system, for example, open a Terminal and type: - sudo apt-get install ocaml ocaml-findlib opam + sudo apt-get install ocaml opam camlp4-extra ocaml-findlib That will install a version of OCaml and the Findlib add-on and OPAM package manager. - If for some reason you can't get OCaml through your - packaging system, you can go to + If you're using Ubuntu "Utopic" (14.10), there's [a note on the OPAM home page](https://opam.ocaml.org/doc/Install.html) + warning that its version of OPAM is broken, and not to use it. Here's how you can get (OCaml and) OPAM from a newer repository: + + sudo apt-get install -y software-properties-common + sudo apt-apt-repository -y ppa:avsm/ppa + sudo apt-get update + sudo apt-get install ocaml opam + + If for some reason you can't get OCaml through your Linux packaging system, you can go to . Pre-packaged binary installers are available for several Linux systems. - If you can't get findlib through your packaging system, you'll - need to download it from + If you can't get findlib through your packaging system, you'll need to download it from . - and use gcc to compile it yourself. If you don't know how to - do that, you probably don't want to attempt this. + and use gcc to compile it yourself. If you don't know how to do that, you probably don't want to attempt this. Here are the INSTALL notes: .