How To Install python-hwdata.noarch on Amazon Linux 2
In this tutorial we learn how to install python-hwdata.noarch in Amazon Linux 2. python-hwdata.noarch is Python bindings to hwdata package
Introduction
In this tutorial we learn how to install python-hwdata.noarch on Amazon Linux 2.
What is python-hwdata.noarch
Provide python interface to database stored in hwdata package. It allows you to get human readable description of USB and PCI devices.
We can use yum to install python-hwdata.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-hwdata.noarch.
Install python-hwdata.noarch 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 python-hwdata.noarch using yum by running the following command:
sudo yum -y install python-hwdata.noarch
How To Uninstall python-hwdata.noarch on Amazon Linux 2
To uninstall only the python-hwdata.noarch package we can use the following command:
sudo yum remove python-hwdata.noarch
python-hwdata.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/hwdata.py
/usr/lib/python2.7/site-packages/hwdata.pyc
/usr/lib/python2.7/site-packages/hwdata.pyo
/usr/lib/python2.7/site-packages/pciutils-1.7.3-py2.7.egg-info
/usr/share/doc/python-hwdata-1.7.3
/usr/share/doc/python-hwdata-1.7.3/LICENSE
/usr/share/doc/python-hwdata-1.7.3/example.py
/usr/share/doc/python-hwdata-1.7.3/html
/usr/share/doc/python-hwdata-1.7.3/html/api-objects.txt
/usr/share/doc/python-hwdata-1.7.3/html/class-tree.html
/usr/share/doc/python-hwdata-1.7.3/html/crarr.png
/usr/share/doc/python-hwdata-1.7.3/html/epydoc.css
/usr/share/doc/python-hwdata-1.7.3/html/epydoc.js
/usr/share/doc/python-hwdata-1.7.3/html/frames.html
/usr/share/doc/python-hwdata-1.7.3/html/help.html
/usr/share/doc/python-hwdata-1.7.3/html/hwdata-module.html
/usr/share/doc/python-hwdata-1.7.3/html/hwdata-pysrc.html
/usr/share/doc/python-hwdata-1.7.3/html/hwdata.PCI-class.html
/usr/share/doc/python-hwdata-1.7.3/html/hwdata.USB-class.html
/usr/share/doc/python-hwdata-1.7.3/html/identifier-index.html
/usr/share/doc/python-hwdata-1.7.3/html/index.html
/usr/share/doc/python-hwdata-1.7.3/html/module-tree.html
/usr/share/doc/python-hwdata-1.7.3/html/redirect.html
/usr/share/doc/python-hwdata-1.7.3/html/toc-everything.html
/usr/share/doc/python-hwdata-1.7.3/html/toc-hwdata-module.html
/usr/share/doc/python-hwdata-1.7.3/html/toc.html
References
Summary
In this tutorial we learn how to install python-hwdata.noarch on Amazon Linux 2 using yum.