How to Install and Uninstall ocaml Package on Debian 12 (Bookworm)
Last updated: January 22,2025
Notice
You can also install and uninstall the ocaml on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "ocaml" package
This tutorial shows how to install ocaml on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
ocaml
Copied
2. Uninstall "ocaml" package
Please follow the instructions below to uninstall ocaml on Debian 12 (Bookworm):
$
sudo apt remove
ocaml
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ocaml package on Debian 12 (Bookworm)
Package: ocaml
Version: 4.13.1-4
Installed-Size: 285421
Maintainer: Debian OCaml Maintainers
Architecture: amd64
Replaces: ocaml-nox (<< 4.13)
Provides: libseq-ocaml-dev, libstdlib-shims-ocaml-dev, libuchar-ocaml-dev, ocaml-4.13.1, ocaml-best-compilers (= 4.13.1-4), ocaml-native-compilers (= 4.13.1-4)
Depends: ocaml-interp (= 4.13.1-4), libncurses-dev, gcc, binutils, libc6 (>= 2.35), ocaml-base-4.13.1
Recommends: ocaml-man, file
Suggests: ocaml-doc, elpa-tuareg
Breaks: ocaml-nox (<< 4.13)
Description: ML language implementation with a class-based object system
Description-md5: cd93523c79e01d09a2d592898dd5d034
Homepage: https://ocaml.org/
Tag: devel::compiler, devel::interpreter, devel::lang:ocaml,
implemented-in::ocaml, role::program, uitoolkit::ncurses
Section: ocaml
Priority: optional
Filename: pool/main/o/ocaml/ocaml_4.13.1-4_amd64.deb
Size: 72145688
MD5sum: 9d534010cb0da34a626fd3fdd47a8a04
SHA256: 98ca43adc3edb8994bb89830e51b3bdb7d25449db41a5702cf8ff39696c404ea
Version: 4.13.1-4
Installed-Size: 285421
Maintainer: Debian OCaml Maintainers
Architecture: amd64
Replaces: ocaml-nox (<< 4.13)
Provides: libseq-ocaml-dev, libstdlib-shims-ocaml-dev, libuchar-ocaml-dev, ocaml-4.13.1, ocaml-best-compilers (= 4.13.1-4), ocaml-native-compilers (= 4.13.1-4)
Depends: ocaml-interp (= 4.13.1-4), libncurses-dev, gcc, binutils, libc6 (>= 2.35), ocaml-base-4.13.1
Recommends: ocaml-man, file
Suggests: ocaml-doc, elpa-tuareg
Breaks: ocaml-nox (<< 4.13)
Description: ML language implementation with a class-based object system
Description-md5: cd93523c79e01d09a2d592898dd5d034
Homepage: https://ocaml.org/
Tag: devel::compiler, devel::interpreter, devel::lang:ocaml,
implemented-in::ocaml, role::program, uitoolkit::ncurses
Section: ocaml
Priority: optional
Filename: pool/main/o/ocaml/ocaml_4.13.1-4_amd64.deb
Size: 72145688
MD5sum: 9d534010cb0da34a626fd3fdd47a8a04
SHA256: 98ca43adc3edb8994bb89830e51b3bdb7d25449db41a5702cf8ff39696c404ea