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

Last updated: December 29,2024

1. Install "libcpu-features-dev" package

This guide let you learn how to install libcpu-features-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libcpu-features-dev

2. Uninstall "libcpu-features-dev" package

Learn how to uninstall libcpu-features-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libcpu-features-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: libcpu-features-dev
Architecture: amd64
Version: 0.6.0-3
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: cpu-features
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Shengjing Zhu
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 91
Breaks: libvolk2-dev (<< 2.4.1-2)
Replaces: libvolk2-dev (<< 2.4.1-2)
Filename: pool/universe/c/cpu-features/libcpu-features-dev_0.6.0-3_amd64.deb
Size: 18296
MD5sum: 092af50db1388f038dbd67d657702350
SHA1: b593462c2edf4dca82a8a7c4ff406e0d3e631fd3
SHA256: d3d7dec34bf5d8e94b4016bcc9abd4bbc69253439ee674b15a2030ac7045d1e6
SHA512: 6b8c8351120653cf6a24f9072a5295b5b69d29596227269c66fa257b4963c6c27017714fd92238e8ea4529e3fe6c88ca35d9b145555b4dbadbc5c8cbc92b1b84
Homepage: https://github.com/google/cpu_features
Description-en: cross platform C99 library to get cpu features
Cross-platform C library to retrieve CPU features(such as available
instructions) at runtime.
.
Design rationale:
.
* Simple to use.
* Extensible. Easy to add missing features or architectures.
* Compatible with old compilers and available on many architectures so it
can be used widely. It's implemented it in C99.
* Sandbox-compatible. The library uses a variety of strategies to cope with
sandboxed environments or when cpuid is unavailable.
* Thread safe, no memory allocation, and raises no exceptions. cpu_features
is suitable for implementing fundamental libc functions like malloc,
memcpy, and memcmp.
* Unit tested.
Description-md5: 702a789ad2a0054c77100b3d9dfd0aad