How To Install libcpuid on Fedora 34

libcpuid is Provides CPU identification for x86 Provides CPU identification for x86

Introduction

In this tutorial we learn how to install libcpuid on Fedora 34.

What is libcpuid

Libcpuid provides CPU identification for the x86 (and x86_64). libcpuid 0.5.0 2.fc34 x86_64 38 k libcpuid-0.5.0-2.fc34.src.rpm fedora Provides CPU identification for x86 https BSD Libcpuid provides CPU identification for the x86 (and x86_64).

We can use yum or dnf to install libcpuid on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libcpuid.

Install libcpuid on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libcpuid using dnf by running the following command:

sudo dnf -y install libcpuid

Install libcpuid on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libcpuid using yum by running the following command:

sudo yum -y install libcpuid

How To Uninstall libcpuid on Fedora 34

To uninstall only the libcpuid package we can use the following command:

sudo dnf remove libcpuid

libcpuid Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/48d87c5e4e24dafd14165582aa0e752658c029
/usr/lib64/libcpuid.so.15
/usr/lib64/libcpuid.so.15.0.0
/usr/share/doc/libcpuid
/usr/share/doc/libcpuid/Readme.md
/usr/share/licenses/libcpuid
/usr/share/licenses/libcpuid/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/929e34a83573a16325311876dc0743582c84ac
/usr/lib/libcpuid.so.15
/usr/lib/libcpuid.so.15.0.0
/usr/share/doc/libcpuid
/usr/share/doc/libcpuid/Readme.md
/usr/share/licenses/libcpuid
/usr/share/licenses/libcpuid/COPYING

References

Summary

In this tutorial we learn how to install libcpuid on Fedora 34 using yum and dnf.