How To Install python-setproctitle.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-setproctitle.x86_64 on Amazon Linux 2.
What is python-setproctitle.x86_64
Python module allowing a process to change its title as displayed by system tool such as ps and top. It’s useful in multiprocess systems, allowing to identify tasks each forked process is busy with. This technique has been used by PostgreSQL and OpenSSH. It’s based on PostgreSQL implementation which has proven to be portable.
We can use yum to install python-setproctitle.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-setproctitle.x86_64.
Install python-setproctitle.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 python-setproctitle.x86_64 using yum by running the following command:
sudo yum -y install python-setproctitle.x86_64
How To Uninstall python-setproctitle.x86_64 on Amazon Linux 2
To uninstall only the python-setproctitle.x86_64 package we can use the following command:
sudo yum remove python-setproctitle.x86_64
python-setproctitle.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/setproctitle-1.1.6-py2.7.egg-info
/usr/lib64/python2.7/site-packages/setproctitle.so
/usr/share/doc/python-setproctitle-1.1.6
/usr/share/doc/python-setproctitle-1.1.6/COPYRIGHT
/usr/share/doc/python-setproctitle-1.1.6/README.rst
References
Summary
In this tutorial we learn how to install python-setproctitle.x86_64 on Amazon Linux 2 using yum.