How To Install pciutils on Fedora 34

pciutils is PCI bus related utilities PCI bus related utilities

Introduction

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

What is pciutils

The pciutils package contains various utilities for inspecting and setting devices connected to the PCI bus. pciutils 3.7.0 3.fc34 x86_64 93 k pciutils-3.7.0-3.fc34.src.rpm fedora PCI bus related utilities https GPLv2+ The pciutils package contains various utilities for inspecting and setting devices connected to the PCI bus.

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

Install pciutils 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 pciutils using dnf by running the following command:

sudo dnf -y install pciutils

Install pciutils 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 pciutils using yum by running the following command:

sudo yum -y install pciutils

How To Uninstall pciutils on Fedora 34

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

sudo dnf remove pciutils

pciutils Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/2cb97125c31c6bce95d4f1ad90aef951e57db9
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/a69384d8caaea7af7ad27c7f617cdc4ceb5e2c
/usr/sbin/lspci
/usr/sbin/setpci
/usr/sbin/update-pciids
/usr/share/doc/pciutils
/usr/share/doc/pciutils/ChangeLog
/usr/share/doc/pciutils/README
/usr/share/doc/pciutils/pciutils.lsm
/usr/share/man/man8/lspci.8.gz
/usr/share/man/man8/setpci.8.gz
/usr/share/man/man8/update-pciids.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/e3dbaf583ae1318ea3625ca91fbfd42b103001
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/d914dea0a6ff0c8fa0d5108af9376b2afb0654
/usr/sbin/lspci
/usr/sbin/setpci
/usr/sbin/update-pciids
/usr/share/doc/pciutils
/usr/share/doc/pciutils/ChangeLog
/usr/share/doc/pciutils/README
/usr/share/doc/pciutils/pciutils.lsm
/usr/share/man/man8/lspci.8.gz
/usr/share/man/man8/setpci.8.gz
/usr/share/man/man8/update-pciids.8.gz

References

Summary

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