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

Last updated: May 21,2024

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

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

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

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

Learn how to uninstall libboost-fiber1.74-dev on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libboost-fiber1.74-dev
Architecture: amd64
Version: 1.74.0-8ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: boost1.74
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Boost Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2297
Depends: libboost1.74-dev (= 1.74.0-8ubuntu2), libboost-context1.74-dev (= 1.74.0-8ubuntu2), libboost-filesystem1.74-dev (= 1.74.0-8ubuntu2), libboost-fiber1.74.0 (= 1.74.0-8ubuntu2)
Conflicts: libboost-fiber1.62-dev, libboost-fiber1.63-dev, libboost-fiber1.65-dev, libboost-fiber1.67-dev, libboost-fiber1.70-dev, libboost-fiber1.71-dev
Filename: pool/universe/b/boost1.74/libboost-fiber1.74-dev_1.74.0-8ubuntu2_amd64.deb
Size: 245408
MD5sum: 3d41e0973a005bff5bee73fcadfa0dd1
SHA1: 0335a841358a3782109e6b5527f6e76a91b534e1
SHA256: 123b7c3f7e5c2f8fc754367661190f6ad64dadf4dfb76ad9d476f59734a7104e
SHA512: 332310cbe80b7c4205ed7633d73e0158c9d3dbddbf216a8fa1b92638920b513da7c763cb1456421de5c1ff218fc4e06880097b69dcf46ef42d67581eabf2465e
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