How to Install and Uninstall libboost-contract-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "libboost-contract-dev" package

This is a short guide on how to install libboost-contract-dev on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libboost-contract-dev" package

This tutorial shows how to uninstall libboost-contract-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libboost-contract-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libboost-contract-dev
Architecture: amd64
Version: 1.74.0.3ubuntu5
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.74-dev
Filename: pool/universe/b/boost-defaults/libboost-contract-dev_1.74.0.3ubuntu5_amd64.deb
Size: 3416
MD5sum: ef4af45f4e7977cf1b32c128f23cd174
SHA1: 450621607d337ae1a33561ed009533e86c9ba25f
SHA256: 118a82057a184d31ca50453720defc6addbfc5ac03ff9c78aeaf5b83461e903a
SHA512: 223a67f389ca09013d77e01b4b0b54f20630089441adb813b65673c59887dff74fbfcf9d732c4536207343e0d77b705184c7dd1e8bf7949492f48e921af61239
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.74).
Description-md5: dcbe74806a36fd3bb0b79a398d895b75