How to Install and Uninstall opam Package on Debian 12 (Bookworm)

Last updated: November 25,2024

1. Install "opam" package

Learn how to install opam on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install opam

2. Uninstall "opam" package

Please follow the instructions below to uninstall opam on Debian 12 (Bookworm):

$ sudo apt remove opam $ sudo apt autoclean && sudo apt autoremove

3. Information about the opam package on Debian 12 (Bookworm)

Package: opam
Version: 2.1.2-1
Installed-Size: 9035
Maintainer: Debian OCaml Maintainers
Architecture: amd64
Depends: libc6 (>= 2.33), libgcc-s1 (>= 3.0), libglpk40 (>= 4.59), libstdc++6 (>= 11), opam-installer (= 2.1.2-1), build-essential, bubblewrap, unzip, wget | curl
Recommends: ocaml, git, darcs, mercurial, m4, rsync, ca-certificates
Suggests: opam-doc (= 2.1.2-1)
Description: package manager for OCaml
Description-md5: b7e2edf25a84d3f9167f3c7e2c06f192
Homepage: https://opam.ocaml.org
Tag: uitoolkit::ncurses
Section: ocaml
Priority: optional
Filename: pool/main/o/opam/opam_2.1.2-1_amd64.deb
Size: 2247612
MD5sum: a3ba933b3e13e10dd499ff0e1a3871f6
SHA256: 0b364a104c7ce2113b3be1246aa05c2b45529257fb16eca58d6706c7d55695f9