How To Install libcpuid on Fedora 36

In this tutorial we learn how to install libcpuid in Fedora 36. libcpuid is Provides CPU identification for x86

Introduction

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

What is libcpuid

Libcpuid provides CPU identification for the x86 (and x86_64).

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

Install libcpuid on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libcpuid

Install libcpuid on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove libcpuid

libcpuid Package Contents on Fedora 36

---
title: "How To Install libcpuid on Fedora 36"
linkTitle: "libcpuid"
type: "docs"
description: "In this tutorial we learn how to install libcpuid in Fedora 36. libcpuid is Provides CPU identification for x86"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libcpuid-featured.png
---

## Introduction

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

### What is `libcpuid`

> Libcpuid provides CPU identification for the x86 (and x86_64).  

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

## Install libcpuid on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install libcpuid

Install libcpuid on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

/usr/lib/.build-id /usr/lib/.build-id/86 /usr/lib/.build-id/86/d4635ccf29470cc32e1b63d7a2add52a884ec8 /usr/lib64/libcpuid.so.15 /usr/lib64/libcpuid.so.15.0.1 /usr/share/doc/libcpuid /usr/share/doc/libcpuid/Readme.md /usr/share/licenses/libcpuid /usr/share/licenses/libcpuid/COPYING To uninstall only the libcpuid package we can use the following command:

sudo dnf remove libcpuid

libcpuid Package Contents on Fedora 36

References

Summary

In this tutorial we learn how to install libcpuid on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/47 /usr/lib/.build-id/47/800b772962623fef924482055114c08bcfe488 /usr/lib/libcpuid.so.15 /usr/lib/libcpuid.so.15.0.1 /usr/share/doc/libcpuid /usr/share/doc/libcpuid/Readme.md /usr/share/licenses/libcpuid /usr/share/licenses/libcpuid/COPYING


## References

* [libcpuid website](https://github.com/anrieff/libcpuid)

## Summary

In this tutorial we learn how to install `libcpuid` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).