Documente Academic
Documente Profesional
Documente Cultură
http://www.oracle.com/technetwork/java/javase/downloads/index.html
* OCAIDE (http://www.algo-prog.info/ocaide/):
- To install OcaIDE as a plugin of Eclipse,
+ Open Eclipse, click on Help > Install New Software...
+ Enter http://www.algo-prog.info/ocaide/ as the update site.
+ Check the OcaIDE category or feature in the list.
+ Then, click Next twice, accept the agreement and click Finish.
+ The plug-in then downloads... It can take a while depending on
your connection speed.
+ Accept the installation (the plug-in is not digitally signed),
and restart Eclipse when it asks you to.
+ As soon as Eclipse is restarted, you can start using the plug-in.
- You can access the online help by clicking on Help > Help Contents
in the Eclipse main menu, and choosing OCaml Development User Guide
in the list of available topics.
- Video tutorials:
http://www.algo-prog.info/ocaide/tutorials.php
* Configuration:
May refer to Windows instructions.
=================================================================
Last Year instructions
Alternative Mac Ocaml instruction using OcamlBrew (from Andreea)
=================================================================
This should be the necessary steps to install ocaml:
- Step 1: make sure you have the most recent version of macports
$ sudo port -v selfupdate
$ port upgrade outdated
- Step 2: make sure you have "curl" installed on your machine:
$ which curl
(For example, the result is /opt/local/bin/curl)
** If "curl" is not installed on your machine run the following command
(it might take a while to get installed):
$ sudo port install curl
- Step 3: make sure you have "m4" installed on your machine:
$ which m4
(For example, the result is /usr/bin/m4)
** If "m4" is not installed on your machine run the following command:
$ sudo port install m4
- Step 4: Install Ocaml:
$ curl -kL
https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install | env
OCAMLBREW_FLAGS="-r" bash
- Step 5: at the end of ocaml installation, ocamlbrew will provided you with
information about how to set your ocaml environment. It will be something
similar to, for example:
"...........................
You may want to add the following line to your ~/.bashrc
so that OCaml is readily available to use:
source /Users/nus/ocamlbrew/ocaml-4.00.1/etc/ocamlbrew.bashrc
"
Please open ~/.bashrc with your favorite editor
(create the file if it does not exists),
and copy the above command inside the file, for example:
source /Users/nus/ocamlbrew/ocaml-4.00.1/etc/ocamlbrew.bashrc
Save, close ~/.bashrc the and run the following command in your terminal:
$ source ~/.bashrc