How to Install and Uninstall opam Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 10,2024

1. Install "opam" package

Please follow the instructions below to install opam on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install opam

2. Uninstall "opam" package

Please follow the guidelines below to uninstall opam on Ubuntu 21.10 (Impish Indri):

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

3. Information about the opam package on Ubuntu 21.10 (Impish Indri)

Package: opam
Architecture: amd64
Version: 2.0.8-1
Priority: optional
Section: universe/ocaml
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8097
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
Filename: pool/universe/o/opam/opam_2.0.8-1_amd64.deb
Size: 2012444
MD5sum: 6bbabb51dafc17e4bc47c402247ad1c0
SHA1: b422b1499392f3c181ef72b971a11126b14c4967
SHA256: 0f4c636425e52a5a9e8b0c1f665a2b955972a1f8b7cab7e63939b348573e579c
SHA512: 08d614425e97c9d62b66b560591c75f427e68a35f81c3196a9aa861ec6f4f0ca505be5ee08b8103501b1c655cbee89538180620f64ac4d48527b74084e208b0a
Homepage: https://opam.ocaml.org
Description-en: package manager for OCaml
OPAM stands for OCaml PAckage Manager. It aims to suit to a vast number
of users and use cases, and has unique features:
* Powerful handling of dependencies: versions constraints, optional
dependencies, conflicts, etc.
* Multiple repositories backends: HTTP, rsync, git
* Ease to create packages and repositories
* Ability to switch between different compiler versions
.
Typically, OPAM will probably make your life easier if you recognize
yourself in at least one of these profiles:
* You use multiple versions of the OCaml compiler, or you hack the compiler
yourself and needs to frequently switch between compiler versions.
* You use or develop software that needs a specific and/or modified version
of the OCaml compiler to be installed.
* You use or develop software that depends on a specific version of an OCaml
library, or you just want to install a specific version of a package, not
just the latest one.
* You want to create your own packages yourself, put them on your own
repository, with minimal effort.
Description-md5: b7e2edf25a84d3f9167f3c7e2c06f192