How to Install and Uninstall libvariantslib-ocaml Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 10,2024

1. Install "libvariantslib-ocaml" package

In this section, we are going to explain the necessary steps to install libvariantslib-ocaml on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libvariantslib-ocaml

2. Uninstall "libvariantslib-ocaml" package

Please follow the instructions below to uninstall libvariantslib-ocaml on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libvariantslib-ocaml $ sudo apt autoclean && sudo apt autoremove

3. Information about the libvariantslib-ocaml package on Ubuntu 21.10 (Impish Indri)

Package: libvariantslib-ocaml
Architecture: amd64
Version: 1:0.14.0-1build1
Priority: extra
Section: universe/ocaml
Source: variantslib
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Provides: libvariantslib-ocaml-z8tg7
Depends: libbase-ocaml-cz6f0, libsexplib0-ocaml-drlz0, ocaml-base-nox-4.11.1
Breaks: libvariants-camlp4-dev
Replaces: libvariants-camlp4-dev
Filename: pool/universe/v/variantslib/libvariantslib-ocaml_0.14.0-1build1_amd64.deb
Size: 8616
MD5sum: 9af3c7ebb433eaeb16d42c25389322e6
SHA1: 7fa2199f0adbb3403688a16f908735d549df2e08
SHA256: 3a1fec2859e19d233d5da537674ecaea00009227ad72e480690cc7d18bb7fdfe
SHA512: c93e1073e3eff930af6099bed9724e08f18fb60d4b4e45f1ec4ba6b22408217c7e21ecc87056b793e5967f7cd8195d2e4770d4cae8329099e8a9ac33da0cd873
Homepage: https://github.com/janestreet/variantslib
Description-en: OCaml syntax extension for supporting variants as first class values (runtime)
Variantslib generates code to support variants as first class by
adding "with variants" suffix to variants definition, e.g.,
.
type t =
| First
| Second
| Third
.
with variants
.
This package contains runtime files.
Description-md5: 8400bb1bb635b31e7d9302b27d61542b