We'll assume you're using either Mac OS X, or Windows, or Linux.
If you're using Mac OS X, you'll be in one of two subgroups:
+
* You'll have Apple's Xcode and the independent MacPorts system
installed.
Xcode is available at
- http://developer.apple.com/technologies/tools/xcode.html
+ <http://developer.apple.com/technologies/tools/xcode.html>
You have to register as an Apple Developer to download it. This
is free but requires you to accept a legal agreement with Apple.
The latest version of Xcode to work with Leopard is 3.14; more
recent versions require Snow Leopard.
The MacPorts system is available at
- http://www.macports.org/
+ <http://www.macports.org/>
This automates the building of Unix-type software on your Mac; it
makes it a lot easier to check for dependencies, use more-recent
versions of things, and so on.
If you're using Windows, you'll be in one of two subgroups:
+
* You'll have the Cygwin system installed:
- http://www.cygwin.com/
+ <http://www.cygwin.com/>
This puts a Unix-like layer on top of your Windows system,
and makes it easier for you to use the same software everybody
else will be using, without its needing as much special-for-Windows
If you're using Linux, you could be using any one of numerous packaging
systems.
+
We'll give examples using the packaging system shared by Debian and Ubuntu,
and we'll assume that those of you using different packaging systems will know
how to make the relevant substitutions. You may also want to take note of the
In Racket these have been renamed "racket", "gracket", and "DrRacket", respectively.
Windows: Go to:
- http://racket-lang.org/download/
+ <http://racket-lang.org/download/>
Download and install the "Windows x86" version.
Mac/without MacPorts: Go to:
- http://racket-lang.org/download/
+ <http://racket-lang.org/download/>
Download and install the option for your system, most likely "Macintosh
OS X (Intel)"
Windows:
Go to:
- http://caml.inria.fr/download.en.html
+ <http://caml.inria.fr/download.en.html>
You can probably download and install the
"Self installer for the port based on the MinGW toolchain"
even if you don't know what MinGW or Cygwin are.
so we're not going to try to explain how to do this.
If you want to figure it out yourself, go to the
Findlib website:
- http://projects.camlcity.org/projects/findlib.html
+ <http://projects.camlcity.org/projects/findlib.html>
Mac/without MacPorts:
To install OCaml 3.12 (just released the summer), go to:
- http://caml.inria.fr/download.en.html
+ <http://caml.inria.fr/download.en.html>
and download and install the "Binary distribution for Mac OS X"
To install the Findlib add-on, you'll need the Xcode development tools
the package from the caml.inria.fr website, as described above)
However, if you do have Xcode, and want to do without MacPorts, then
what you need to do is download Findlib from:
- http://download.camlcity.org/download/findlib-1.2.6.tar.gz
+ <http://download.camlcity.org/download/findlib-1.2.6.tar.gz>
Unpack the download, open a Terminal and go into the folder you just
unpacked, and type:
./configure
If for some reason you can't get OCaml through your
packaging system, you can go to:
- http://caml.inria.fr/download.en.html
+ <http://caml.inria.fr/download.en.html>
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:
- http://download.camlcity.org/download/findlib-1.2.6.tar.gz
+ <http://download.camlcity.org/download/findlib-1.2.6.tar.gz>
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:
- https://godirepo.camlcity.org/svn/lib-findlib/trunk/INSTALL
+ <https://godirepo.camlcity.org/svn/lib-findlib/trunk/INSTALL>