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

Last updated: November 07,2024

1. Install "libboost-fiber1.71.0" package

This tutorial shows how to install libboost-fiber1.71.0 on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libboost-fiber1.71.0" package

This is a short guide on how to uninstall libboost-fiber1.71.0 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libboost-fiber1.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: 2038
Depends: libboost-context1.71.0, libc6 (>= 2.30), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Filename: pool/universe/b/boost1.71/libboost-fiber1.71.0_1.71.0-6ubuntu11_amd64.deb
Size: 226204
MD5sum: fc15ba0f09fbac42440416a10ec9aa92
SHA1: cb61f0e8021926ecac8651b694e8039978ce833a
SHA256: 152ba3a185585387f14528f9aafb236838d736d2cd1e4ff2f6a64b9178b8ecd9
SHA512: c6b6fa74eaf37660115d38d0db6384332fd797dc198810c45a83132e1a3414d47545cc93e484b862497e9ceb1e3b008f982716c9cc568d61f1291bf5caff60ba
Homepage: http://www.boost.org/libs/fiber/
Description-en: cooperatively-scheduled micro-/userland-threads
This package forms part of the Boost C++ Libraries collection.
.
Boost.Fiber provides a framework for micro-/userland-threads (fibers)
scheduled cooperatively. The API contains classes and functions to
manage and synchronize fibers similarly to standard thread support
library.
.
Each fiber has its own stack.
.
A fiber can save the current execution state, including all registers
and CPU flags, the instruction pointer, and the stack pointer and
later restore this state. The idea is to have multiple execution
paths running on a single thread using cooperative scheduling (versus
threads, which are preemptively scheduled). The running fiber decides
explicitly when it should yield to allow another fiber to run
(context switching). Boost.Fiber internally uses execution_context
from Boost.Context; the classes in this library manage, schedule and,
when needed, synchronize those execution contexts. A context switch
between threads usually costs thousands of CPU cycles on x86,
compared to a fiber switch with less than a hundred cycles. A fiber
runs on a single thread at any point in time.
Description-md5: f7f6013704ff4580caf3394917e3c295