How to Install and Uninstall libboost-contract-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "libboost-contract-dev" package

Please follow the steps below to install libboost-contract-dev on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libboost-contract-dev" package

Please follow the step by step instructions below to uninstall libboost-contract-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libboost-contract-dev package on Ubuntu 21.10 (Impish Indri)

Package: libboost-contract-dev
Architecture: amd64
Version: 1.74.0.3ubuntu6
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.3ubuntu6_amd64.deb
Size: 3282
MD5sum: af4bbd79c921b4cc945b050cad8c7ce5
SHA1: 87d0675042c765812f34f6710d06f487c3bb9c43
SHA256: 10b7a2422eac91cde007818247c06fabb60bf9e047e5d7101f0341c960f16133
SHA512: ee376043d66e3855e568f1030bc57a2bba79040621d5cbb29a9fc2cdd8b0fee5ed82cbcc082cb322ec28ba06fc26bfc6eec1f60263d1a4d64f0d7278ab908455
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