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

Last updated: April 25,2024

1. Install "libboost-fiber-dev" package

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

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

2. Uninstall "libboost-fiber-dev" package

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

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

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

Package: libboost-fiber-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-fiber1.74-dev
Filename: pool/universe/b/boost-defaults/libboost-fiber-dev_1.74.0.3ubuntu6_amd64.deb
Size: 3628
MD5sum: c92026df9f76444db7a0704fc65ee670
SHA1: 26596aadc33bd9e0a97cb43a3899e67e4e4ed9f8
SHA256: f01d40e22ab5d9ab1ade5d904fa5a76463e5b918334e51ec40b73e921a613bb0
SHA512: 5a2e76df1210d390dc7aee4d8941e7072d47f941f569709a8d16fc68bec8d6d5999164b8ddbd1bda5e8dec3dd8bf3ad9e974e04abba26817364740f012b8f0d3
Homepage: http://www.boost.org/libs/fiber/
Description-en: cooperatively-scheduled micro-/userland-threads (default version)
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.
.
This package is a dependency package, which depends on Debian's default
Boost version (currently 1.74).
Description-md5: 154c0de1291233a47427ddb212842607