How to Install and Uninstall libbitmask-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 28,2024

1. Install "libbitmask-dev" package

This is a short guide on how to install libbitmask-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libbitmask-dev

2. Uninstall "libbitmask-dev" package

This tutorial shows how to uninstall libbitmask-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libbitmask-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libbitmask-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libbitmask-dev
Architecture: amd64
Version: 2.0-3
Priority: optional
Section: universe/libdevel
Source: libbitmask
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Anibal Monsalve Salazar
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 112
Depends: libbitmask1 (= 2.0-3)
Filename: pool/universe/libb/libbitmask/libbitmask-dev_2.0-3_amd64.deb
Size: 28552
MD5sum: a2398ddcbbc0dfcbf839d76de0b3873e
SHA1: c29d353cdaeb044a9b8bf0de1bc963a931d689ea
SHA256: 46362b6b6d53d06d0b5e0d72d50c0241b45a6fb7c7d0af29036e39a60e09a8c4
SHA512: 1c306275ef901a0adf76f0100ff57f45497ff00434302b16d32d82c3dd27740e9f1a18b26c94c54a3fe38a3c7d241666a4b34069d416edea2670e4a5081abbb7
Homepage: http://oss.sgi.com/projects/cpusets/
Description-en: header files and docs for libbitmask
Contains the header files and documentation for libbitmask
for use in developing applications that use the libbitmask library.
.
This Bitmask library supports multi-word bitmask operations for
applications programmed in 'C'. It works in conjunction with recent
Linux kernel support for processor and memory placement on
multiprocessor SMP and NUMA systems. The cpuset library, being
developed in parallel, depends on this bitmask library.
.
Bitmasks provide multi-word bit masks and operations thereon to do
such things as set and clear bits, intersect and union masks,
query bits, and display and parse masks.
.
The initial intended use for these bitmasks is to represent sets of
CPUs and Memory Nodes, when configuring large SMP and NUMA systems.
However there is little in the semantics of bitmasks that is
specific to this particular use, and bitmasks should be usable for
other purposes that had similar design requirements.
.
These bitmasks share the same underlying layout as the bitmasks
used by the Linux kernel to represent sets of CPUs and Memory
Nodes. Unlike the kernel bitmasks, these bitmasks use dynamically
allocated memory and are manipulated via a pointer. This enables a
program to work correctly on systems with various numbers of CPUs
and Nodes, without recompilation.
.
There is a related cpuset library which uses the bitmask type
provided here to represent sets of CPUs and Memory Nodes. The
internal representation (as an array of unsigned longs, in little
endian order) is directly compatible with the sched_setaffinity(2)
and sched_getaffinity(2) system calls (added in Linux 2.6).
Description-md5: d6815bce79098ae4743c9cdde3c8069d