How to Install and Uninstall opam Package on Debian 11 (Bullseye)

Last updated: May 10,2024

1. Install "opam" package

Please follow the instructions below to install opam on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install opam

2. Uninstall "opam" package

Here is a brief guide to show you how to uninstall opam on Debian 11 (Bullseye):

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

3. Information about the opam package on Debian 11 (Bullseye)

Package: opam
Version: 2.0.8-1
Installed-Size: 8081
Maintainer: Debian OCaml Maintainers
Architecture: amd64
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libglpk40 (>= 4.59), libstdc++6 (>= 5.2), opam-installer (= 2.0.8-1), opam-doc (= 2.0.8-1), build-essential, bubblewrap, unzip, wget | curl
Recommends: ocaml, git, darcs, mercurial, m4, rsync, ca-certificates
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.0.8-1_amd64.deb
Size: 2006940
MD5sum: f91a9bdef069216dbf08ba7636415406
SHA256: 435b4a18071e5a011f78e35fb64cbeb3c55b338cd4478d239b9d2d0a7ec8f521