How to Install and Uninstall ocaml Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "ocaml" package

This guide covers the steps necessary to install ocaml on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ocaml

2. Uninstall "ocaml" package

This guide covers the steps necessary to uninstall ocaml on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ocaml $ sudo apt autoclean && sudo apt autoremove

3. Information about the ocaml package on Ubuntu 21.10 (Impish Indri)

Package: ocaml
Architecture: amd64
Version: 4.11.1-4
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 39
Provides: ocaml-4.11.1
Depends: ocaml-base-nox, ocaml-nox, ocaml-base-4.11.1, libx11-dev
Filename: pool/universe/o/ocaml/ocaml_4.11.1-4_amd64.deb
Size: 2748
MD5sum: edbfa9f4b68febfc64d5ac920953248b
SHA1: 94343997a9a1c9a46a50f97fb890bd79d164b6f4
SHA256: 5dd423008696a3fd3d888f3dd18a81f08bb0ce79e0f1dbcf0d4205c655bd1de8
SHA512: 4d96d2aa91f21a8482129fb95d944d22b883ba1508af07479954bce320f925c9a2588d4cd7076c787931245b931da7e5cad680f0734cafb0c49ffe1f53421bd7
Homepage: https://ocaml.org/
Description-en: 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.
Description-md5: 04cda173a24e7986d3433da3f1594787