How To Install yum-plugin-ps.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install yum-plugin-ps.noarch on Amazon Linux 2.
What is yum-plugin-ps.noarch
When this plugin is installed it adds the yum command “ps”, which allows you to see which running processes are accociated with which packages (and if they need rebooting, or have updates, etc.)
We can use yum to install yum-plugin-ps.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yum-plugin-ps.noarch.
Install yum-plugin-ps.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 yum-plugin-ps.noarch using yum by running the following command:
sudo yum -y install yum-plugin-ps.noarch
How To Uninstall yum-plugin-ps.noarch on Amazon Linux 2
To uninstall only the yum-plugin-ps.noarch package we can use the following command:
sudo yum remove yum-plugin-ps.noarch
yum-plugin-ps.noarch Package Contents on Amazon Linux 2
/etc/yum/pluginconf.d/ps.conf
/usr/lib/yum-plugins/ps.py
/usr/lib/yum-plugins/ps.pyc
/usr/lib/yum-plugins/ps.pyo
/usr/share/doc/yum-plugin-ps-1.1.31
/usr/share/doc/yum-plugin-ps-1.1.31/COPYING
References
Summary
In this tutorial we learn how to install yum-plugin-ps.noarch on Amazon Linux 2 using yum.