How to Install and Uninstall libboost-contract1.71.0 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 21,2024

1. Install "libboost-contract1.71.0" package

This is a short guide on how to install libboost-contract1.71.0 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libboost-contract1.71.0

2. Uninstall "libboost-contract1.71.0" package

Please follow the guidelines below to uninstall libboost-contract1.71.0 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libboost-contract1.71.0 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libboost-contract1.71.0 package on Ubuntu 21.04 (Hirsute Hippo)

Package: libboost-contract1.71.0
Architecture: amd64
Version: 1.71.0-6ubuntu11
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: boost1.71
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Boost Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2102
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Filename: pool/universe/b/boost1.71/libboost-contract1.71.0_1.71.0-6ubuntu11_amd64.deb
Size: 238756
MD5sum: fb83fe6c45e2a44779faca0c7f145860
SHA1: 8efda9af583208366a8a343939f5eb7eab3ce946
SHA256: b3a6684678028caccc3f22e9defdcba55d1366f408c098d5031bed3038db001b
SHA512: cefe6ac3bc8080ba3d8cb0937d73fb92b892116d00d3018ce7e076d4b0570025b7233c65a7e402b5f3ca8c76c6ea05318a1bac9e6238b925eedf8d090f323535
Homepage: http://boost.org/libs/contract/
Description-en: Contract library for C++
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.
Description-md5: cbd95e0aa2c452e909d5fb8cd5d45bc3