How To Install Ocamlbuild In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Ocamlbuild In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

ocamlbuild

Generic build tool with built-in rules for building OCaml library and programs (library)

Maintainer: Debian OCaml Maintainers



Section: ocaml

Install ocamlbuild

  • Debian apt-get install ocamlbuild Click to copy
  • Ubuntu apt-get install ocamlbuild Click to copy
  • Alpine OS apk add ocamlbuild Click to copy
  • Arch Linux pacman -S ocamlbuild Click to copy
  • Kali Linux apt-get install ocamlbuild Click to copy
  • CentOS yum install ocaml-ocamlbuild Click to copy
  • Fedora dnf install ocaml-ocamlbuild Click to copy
  • Raspbian apt-get install ocaml-ocamlbuild Click to copy
  • macOS brew install ocamlbuild Click to copy

ocaml-ocamlbuild

Generic build tool with built-in rules for building OCaml library and programs (library)

ocamlbuild

Build tool for building OCaml library and programs

OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs. It was distributed as part of the OCaml distribution for OCaml versions between 3.10.0 and 4.02.3. Starting from OCaml 4.03, it is now released separately. Its job is to determine the sequence of calls to the compileru00e2u20acu2030u00e2u20acu201du00e2u20acu2030with the right set of command-line flagsu00e2u20acu2030u00e2u20acu201du00e2u20acu2030needed to build your OCaml-centric software project. It was designed as a generic build system (it is in fact not OCaml-specific), but also to be expressive enough to cover the specifics of the OCaml language that make writing good Makefiles difficult, such as the dreaded units Foo and Bar make inconsistent assumptions about Baz error.

ocaml-nox

ML implementation with a class-based object system (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. 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 that do not require the graphics library.

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.

Installing ocamlbuild command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of ocamlbuild 2024 package in your OS.