Install Ocaml On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install ocaml
-
Debian
apt-get install ocaml-interpClick to copy -
Ubuntu
apt-get install ocaml-interpClick to copy -
Alpine OS
apk add ocamlClick to copy -
Arch Linux
pacman -S ocamlClick to copy -
Kali Linux
apt-get install ocaml-interpClick to copy -
CentOS
yum install ocamlClick to copy -
Fedora
dnf install ocamlClick to copy -
Raspbian
apt-get install ocaml-interpClick to copy -
macOS
brew install ocamlClick to copy
ocaml-interp
OCaml interactive interpreter and standard librariesObjective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. This package contains the files required to run an OCaml shell from the command line.
wims
server for educational content: courses, exercises, and examsThe WWW Interactive Multipurpose Server is an educational platform originally developed for mathematics but now also supporting subjects such as physics, chemistry, biology, and languages. WIMS features a rich set of resources and exercises either for autodidactical use or for training classes, including: * exercises with automatic feedback and correction, allowing the learners to work at their own pace; * interactive exercises with randomly assigned data, allowing the learners to work on the same type of exercise but with different data and as often as they wish; * exercises with an automatic scoring system, which enhances learner motivation; * user-friendly graphics and calculation tools; * courses and documents with hyperlinks to the exercise pool; examples in the courses can be made random, so the student can get more than one instance of an illustration for tricky concepts; * support for exams with pre-published contents. As each individual exam will have randomly chosen data, training is possible but writing each response in advance is not. This package contains the WIMS FastCGI server, serving Open Exercise Format (OEF) documents. OEF is a very high-level language which allows authors to focus on pedagogical issues.
ocaml
ML language implementation with a class-based object systemObjective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system. The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though. This package contains everything needed to develop OCaml applications, including the graphics libraries.




