How To Install hwdata.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hwdata.x86_64 in Amazon Linux 2. hwdata.x86_64 is Hardware identification and configuration data

Introduction

In this tutorial we learn how to install hwdata.x86_64 on Amazon Linux 2.

What is hwdata.x86_64

hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.

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

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

sudo yum -y install hwdata.x86_64

How To Uninstall hwdata.x86_64 on Amazon Linux 2

To uninstall only the hwdata.x86_64 package we can use the following command:

sudo yum remove hwdata.x86_64

hwdata.x86_64 Package Contents on Amazon Linux 2

/usr/lib/modprobe.d/dist-blacklist.conf
/usr/lib/udev/hwdb.d/22-OUI.hwdb
/usr/lib/udev/hwdb.d/22-acpi-vendor.hwdb
/usr/lib/udev/hwdb.d/22-bluetooth-vendor-product.hwdb
/usr/lib/udev/hwdb.d/22-net-ifname.hwdb
/usr/lib/udev/hwdb.d/22-pci-classes.hwdb
/usr/lib/udev/hwdb.d/22-pci-vendor-model.hwdb
/usr/lib/udev/hwdb.d/22-sdio-classes.hwdb
/usr/lib/udev/hwdb.d/22-sdio-vendor-model.hwdb
/usr/lib/udev/hwdb.d/22-usb-classes.hwdb
/usr/lib/udev/hwdb.d/22-usb-vendor-model.hwdb
/usr/lib/udev/hwdb.d/62-evdev.hwdb
/usr/lib/udev/hwdb.d/62-keyboard.hwdb
/usr/lib/udev/hwdb.d/72-mouse.hwdb
/usr/lib/udev/hwdb.d/72-pointingstick.hwdb
/usr/share/doc/hwdata-0.252
/usr/share/doc/hwdata-0.252/COPYING
/usr/share/doc/hwdata-0.252/LICENSE
/usr/share/hwdata
/usr/share/hwdata/iab.txt
/usr/share/hwdata/oui.txt
/usr/share/hwdata/pci.ids
/usr/share/hwdata/pnp.ids
/usr/share/hwdata/sdio.ids
/usr/share/hwdata/usb.ids

References

Summary

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