How to Install and Uninstall libboost-fiber1.74.0 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 10,2024

1. Install "libboost-fiber1.74.0" package

This tutorial shows how to install libboost-fiber1.74.0 on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libboost-fiber1.74.0" package

Please follow the guidelines below to uninstall libboost-fiber1.74.0 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libboost-fiber1.74.0 package on Ubuntu 21.10 (Impish Indri)

Package: libboost-fiber1.74.0
Architecture: amd64
Version: 1.74.0-8ubuntu6
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: boost1.74
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Boost Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2121
Depends: libboost-context1.74.0 (>= 1.74.0), libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libstdc++6 (>= 11)
Filename: pool/universe/b/boost1.74/libboost-fiber1.74.0_1.74.0-8ubuntu6_amd64.deb
Size: 242044
MD5sum: 32361e7d1299b725c9ea6aadcef07e87
SHA1: a90380c665dc384aeab57333d50bfc2af2dbf0bf
SHA256: 16f577c251c55c06f6afefee0392d5117f14adb2c29f41937108f37a25419db7
SHA512: fa0a6c69222986b5e95f5301e430e5046177f27dfc30acdeb84d80fd2ab169bd3d75ef02cfcdeb27f0c4ac5a492e3ae467cad450ec0117da9dca2603855304c7
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