How to Install and Uninstall opam Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 27,2024

1. Install "opam" package

This is a short guide on how to install opam on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install opam

2. Uninstall "opam" package

This tutorial shows how to uninstall opam on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the opam package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: opam
Priority: optional
Section: universe/ocaml
Installed-Size: 9985
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Architecture: amd64
Version: 1.2.2-4
Depends: libbz2-1.0, libc6 (>= 2.15), zlib1g (>= 1:1.1.4), opam-docs (= 1.2.2-4), build-essential, tar, unzip, wget | curl
Recommends: aspcud, ocaml, git, darcs, mercurial, rsync
Filename: pool/universe/o/opam/opam_1.2.2-4_amd64.deb
Size: 1447206
MD5sum: 2e050f51873f8b717eb6f6ddf3581468
SHA1: c6eb75beaaedc72afb914a02291773f3262ca752
SHA256: 7f5d14604bb921489e239370542c00adc18885b20472e98de4487d3bdfaa8130
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
Homepage: http://opam.ocamlpro.com
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu