How To Install pciutils-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pciutils-libs.x86_64 in Amazon Linux 2. pciutils-libs.x86_64 is Linux PCI library

Introduction

In this tutorial we learn how to install pciutils-libs.x86_64 on Amazon Linux 2.

What is pciutils-libs.x86_64

This package contains a library for inspecting and setting devices connected to the PCI bus.

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

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

sudo yum -y install pciutils-libs.x86_64

How To Uninstall pciutils-libs.x86_64 on Amazon Linux 2

To uninstall only the pciutils-libs.x86_64 package we can use the following command:

sudo yum remove pciutils-libs.x86_64

pciutils-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libpci.so.3
/usr/lib64/libpci.so.3.5.1
/usr/share/doc/pciutils-libs-3.5.1
/usr/share/doc/pciutils-libs-3.5.1/COPYING

References

Summary

In this tutorial we learn how to install pciutils-libs.x86_64 on Amazon Linux 2 using yum.