How To Install libpciaccess-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpciaccess-devel.x86_64 in Amazon Linux 2. libpciaccess-devel.x86_64 is PCI access library development package

Introduction

In this tutorial we learn how to install libpciaccess-devel.x86_64 on Amazon Linux 2.

What is libpciaccess-devel.x86_64

Development package for libpciaccess.

We can use yum to install libpciaccess-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpciaccess-devel.x86_64.

Install libpciaccess-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libpciaccess-devel.x86_64

How To Uninstall libpciaccess-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libpciaccess-devel.x86_64

libpciaccess-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.