How to Install and Uninstall ocaml Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 07,2024

1. Install "ocaml" package

This guide covers the steps necessary to install ocaml on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install ocaml

2. Uninstall "ocaml" package

This guide let you learn how to uninstall ocaml on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the ocaml package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: ocaml
Architecture: amd64
Version: 4.13.1-3ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 284671
Provides: libseq-ocaml-dev, libstdlib-shims-ocaml-dev, libuchar-ocaml-dev, ocaml-4.13.1, ocaml-best-compilers (= 4.13.1-3ubuntu1), ocaml-native-compilers (= 4.13.1-3ubuntu1)
Depends: ocaml-interp (= 4.13.1-3ubuntu1), libncurses5-dev, gcc, binutils, libc6 (>= 2.34), ocaml-base-4.13.1
Recommends: ocaml-man, file
Suggests: ocaml-doc, elpa-tuareg
Breaks: ocaml-nox (<< 4.13)
Replaces: ocaml-nox (<< 4.13)
Filename: pool/universe/o/ocaml/ocaml_4.13.1-3ubuntu1_amd64.deb
Size: 87676320
MD5sum: febfc68b0a37f666cbf7cc52be7368fb
SHA1: 5fb89f11d767b3b367df7547b5356d2e096b18fe
SHA256: dfbba5e36336ba56cb1e28acdf79847be7c3ab63f76ee22770f9f77675885880
SHA512: 171529967f5acdd37e07acc8ba4ee294d9190f95c6cd4d67b9d1e82bb9462d1574e36defd4847a1aa2f4786ffe6592cafaca6045acbd2eaad7b4fb7cf8e76aa4
Homepage: https://ocaml.org/
Description: ML language implementation with a class-based object system
Description-md5: cd93523c79e01d09a2d592898dd5d034