How To Install libpciaccess on Rocky Linux 8
Introduction
In this tutorial we learn how to install libpciaccess on Rocky Linux 8.
What is libpciaccess
libpciaccess is a library for portable PCI access routines across multiple operating systems.
We can use yum or dnf to install libpciaccess on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libpciaccess.
Install libpciaccess 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 using dnf by running the following command:
sudo dnf -y install libpciaccess
Install libpciaccess 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 using yum by running the following command:
sudo yum -y install libpciaccess
How To Uninstall libpciaccess on Rocky Linux 8
To uninstall only the libpciaccess package we can use the following command:
sudo dnf remove libpciaccess
libpciaccess Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/ec94b7b0b09a57e6e9ec7f47b9f67be099af2c
/usr/lib64/libpciaccess.so.0
/usr/lib64/libpciaccess.so.0.11.1
/usr/share/doc/libpciaccess
/usr/share/doc/libpciaccess/AUTHORS
/usr/share/licenses/libpciaccess
/usr/share/licenses/libpciaccess/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/010a4dd95314404d0f5276eb6e44b7e74d555a
/usr/lib/libpciaccess.so.0
/usr/lib/libpciaccess.so.0.11.1
/usr/share/doc/libpciaccess
/usr/share/doc/libpciaccess/AUTHORS
/usr/share/licenses/libpciaccess
/usr/share/licenses/libpciaccess/COPYING
References
Summary
In this tutorial we learn how to install libpciaccess on Rocky Linux 8 using yum and dnf.