How to Install and Uninstall ocaml Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "ocaml" package

Please follow the guidelines below to install ocaml on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ocaml

2. Uninstall "ocaml" package

In this section, we are going to explain the necessary steps to uninstall ocaml on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ocaml package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ocaml
Priority: optional
Section: universe/devel
Installed-Size: 182
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Architecture: amd64
Version: 4.02.3-5ubuntu2
Replaces: ocaml-nox (<< 3.11.0-2)
Provides: ocaml-4.02.3
Depends: ocaml-base-nox, ocaml-base-4.02.3, ocaml-nox-4.02.3, libx11-dev
Filename: pool/universe/o/ocaml/ocaml_4.02.3-5ubuntu2_amd64.deb
Size: 31832
MD5sum: b0689ab56788d4de4f07c74c8cb1203e
SHA1: 5ea8fad2c42fc20ee5a33952052e0bf064b0911f
SHA256: faca332c3e5e0190f898c50f22cfb53d2f5049164bbfbc3a086cec1567f096f3
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
Homepage: http://caml.inria.fr/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu