ocamlrun

Runtime system for OCaml bytecode executables (no X)

Install

All systems
curl cmd.cat/ocamlrun.sh
Debian Debian
apt-get install ocaml-base-nox
Ubuntu
apt-get install ocaml-base-nox
Alpine
apk add ocaml
Arch Arch Linux
pacman -S ocaml
image/svg+xml Kali Linux
apt-get install ocaml-base-nox
CentOS
yum install ocaml-runtime
Fedora
dnf install ocaml-runtime
Windows (WSL2)
sudo apt-get update sudo apt-get install ocaml-base-nox
OS X
brew install ocaml
Raspbian
apt-get install ocaml-base-nox
Docker
docker run cmd.cat/ocamlrun ocamlrun powered by Commando

ocaml-base-nox

Runtime system for OCaml bytecode executables (no X)

Objective 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 only the runtime system needed to run bytecode executables that do not use the graphics library. The 'ocaml' package contains the full development suite of Objective Caml.

ocaml-runtime

Objective Caml runtime environment

ocaml

ML language implementation with a class-based object system

Objective 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.