How To Install python-linux-procfs.noarch on Amazon Linux 2

In this tutorial we learn how to install python-linux-procfs.noarch in Amazon Linux 2. python-linux-procfs.noarch is Linux /proc abstraction classes

Introduction

In this tutorial we learn how to install python-linux-procfs.noarch on Amazon Linux 2.

What is python-linux-procfs.noarch

Abstractions to extract information from the Linux kernel /proc files.

We can use yum to install python-linux-procfs.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-linux-procfs.noarch.

Install python-linux-procfs.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-linux-procfs.noarch using yum by running the following command:

sudo yum -y install python-linux-procfs.noarch

How To Uninstall python-linux-procfs.noarch on Amazon Linux 2

To uninstall only the python-linux-procfs.noarch package we can use the following command:

sudo yum remove python-linux-procfs.noarch

python-linux-procfs.noarch Package Contents on Amazon Linux 2

/usr/bin/pflags
/usr/lib/python2.7/site-packages/procfs
/usr/lib/python2.7/site-packages/procfs/__init__.py
/usr/lib/python2.7/site-packages/procfs/__init__.pyc
/usr/lib/python2.7/site-packages/procfs/__init__.pyo
/usr/lib/python2.7/site-packages/procfs/procfs.py
/usr/lib/python2.7/site-packages/procfs/procfs.pyc
/usr/lib/python2.7/site-packages/procfs/procfs.pyo
/usr/lib/python2.7/site-packages/procfs/sysctl.py
/usr/lib/python2.7/site-packages/procfs/sysctl.pyc
/usr/lib/python2.7/site-packages/procfs/sysctl.pyo
/usr/lib/python2.7/site-packages/procfs/utilist.py
/usr/lib/python2.7/site-packages/procfs/utilist.pyc
/usr/lib/python2.7/site-packages/procfs/utilist.pyo
/usr/lib/python2.7/site-packages/python_linux_procfs-0.4.9-py2.7.egg-info
/usr/share/doc/python-linux-procfs-0.4.9
/usr/share/doc/python-linux-procfs-0.4.9/COPYING

References

Summary

In this tutorial we learn how to install python-linux-procfs.noarch on Amazon Linux 2 using yum.