How To Install libpciaccess on AlmaLinux 8

In this tutorial we learn how to install libpciaccess in AlmaLinux 8. libpciaccess is PCI access library

Introduction

In this tutorial we learn how to install libpciaccess on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libpciaccess.

Install libpciaccess on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libpciaccess

References

Summary

In this tutorial we learn how to install libpciaccess on AlmaLinux 8 using yum and dnf.