How To Install libpciaccess-devel on Rocky Linux 8

In this tutorial we learn how to install libpciaccess-devel on Rocky Linux 8. libpciaccess-devel is PCI access library development package

Introduction

In this tutorial we learn how to install libpciaccess-devel on Rocky Linux 8.

What is libpciaccess-devel

Development package for libpciaccess.

We can use yum or dnf to install libpciaccess-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libpciaccess-devel.

Install libpciaccess-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libpciaccess-devel

Install libpciaccess-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpciaccess-devel using yum by running the following command:

sudo yum -y install libpciaccess-devel

How To Uninstall libpciaccess-devel on Rocky Linux 8

To uninstall only the libpciaccess-devel package we can use the following command:

sudo dnf remove libpciaccess-devel

libpciaccess-devel Package Contents on Rocky Linux 8

/usr/include/pciaccess.h
/usr/lib/libpciaccess.so
/usr/lib/pkgconfig/pciaccess.pc
/usr/include/pciaccess.h
/usr/lib64/libpciaccess.so
/usr/lib64/pkgconfig/pciaccess.pc

References

Summary

In this tutorial we learn how to install libpciaccess-devel on Rocky Linux 8 using yum and dnf.