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

Last updated: November 26,2024

1. Install "libboost-fiber1.71-dev" package

Please follow the instructions below to install libboost-fiber1.71-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libboost-fiber1.71-dev

2. Uninstall "libboost-fiber1.71-dev" package

Please follow the instructions below to uninstall libboost-fiber1.71-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libboost-fiber1.71-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: libboost-fiber1.71-dev
Architecture: amd64
Version: 1.71.0-6ubuntu11
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: boost1.71
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Boost Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2216
Depends: libboost1.71-dev (= 1.71.0-6ubuntu11), libboost-context1.71-dev (= 1.71.0-6ubuntu11), libboost-filesystem1.71-dev (= 1.71.0-6ubuntu11), libboost-fiber1.71.0 (= 1.71.0-6ubuntu11)
Conflicts: libboost-fiber1.62-dev, libboost-fiber1.63-dev, libboost-fiber1.65-dev, libboost-fiber1.67-dev, libboost-fiber1.70-dev
Filename: pool/universe/b/boost1.71/libboost-fiber1.71-dev_1.71.0-6ubuntu11_amd64.deb
Size: 237268
MD5sum: 948d17886bbca2576db750d8854d1fa4
SHA1: a54454119c36e15681291123fc6dbd11840c0118
SHA256: 1d7b717d47c7e779b27d069db95ab07280820ab9f7a553f29481b9e0bbec5dde
SHA512: 71d801351ca7b8269f80fdb9af799ac57f35bc1eda1e9df5a5603d57f50a3b61f660d08b09c804b6d0d62d64317477853ae7258c5feadd18a11603b81f3dfc47
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