How to Install and Uninstall libboost-contract-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 18,2024

1. Install "libboost-contract-dev" package

In this section, we are going to explain the necessary steps to install libboost-contract-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libboost-contract-dev

2. Uninstall "libboost-contract-dev" package

Please follow the guidance below to uninstall libboost-contract-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libboost-contract-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libboost-contract-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: libboost-contract-dev
Architecture: amd64
Version: 1.71.0.0ubuntu4
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: boost-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Boost Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: libboost-contract1.71-dev
Filename: pool/universe/b/boost-defaults/libboost-contract-dev_1.71.0.0ubuntu4_amd64.deb
Size: 3372
MD5sum: cf7bea6a9bee83a7d7b7b1a90a748a75
SHA1: c610e8013249b240fdcd2a8c5921842548654c94
SHA256: b115410e95478a9bb832e244c19189d3621d60a1a843acaf0c13cf308874873e
SHA512: f27dbc9bbc35c91bed79054d2dc554b2b5fb593323e175037430e66568486cb01de557b06d5794f6b92848ba853ea2666bdddf9a97f89e278fac7620a8a2ca8c
Homepage: http://boost.org/libs/contract/
Description-en: Contract library for C++ - dev files (default version)
This package forms part of the Boost C++ Libraries collection.
.
All contract programming features are supported: Subcontracting,
class invariants, postconditions (with old and return values),
preconditions, customizable actions on assertion failure (e.g.,
terminate or throw), optional compilation and checking of assertions,
etc.
.
This package is a dependency package, which depends on Debian's default
Boost version (currently 1.71).
Description-md5: 4f8c1680a317cca266f1ee63ff956bad