How To Install python2-psutil.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install python2-psutil.x86_64
on Amazon Linux 2.
What is python2-psutil.x86_64
psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using Python 3, implementing many functionalities offered by command line tools such as nice, ionice, iostat, iotop, uptime, pidof, tty, who, taskset, pmap.
We can use yum
to install python2-psutil.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python2-psutil.x86_64.
Install python2-psutil.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 python2-psutil.x86_64
using yum
by running the following command:
sudo yum -y install python2-psutil.x86_64
How To Uninstall python2-psutil.x86_64 on Amazon Linux 2
To uninstall only the python2-psutil.x86_64
package we can use the following command:
sudo yum remove python2-psutil.x86_64
python2-psutil.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/psutil
/usr/lib64/python2.7/site-packages/psutil-5.6.7-py2.7.egg-info
/usr/lib64/python2.7/site-packages/psutil/__init__.py
/usr/lib64/python2.7/site-packages/psutil/__init__.pyc
/usr/lib64/python2.7/site-packages/psutil/__init__.pyo
/usr/lib64/python2.7/site-packages/psutil/_common.py
/usr/lib64/python2.7/site-packages/psutil/_common.pyc
/usr/lib64/python2.7/site-packages/psutil/_common.pyo
/usr/lib64/python2.7/site-packages/psutil/_compat.py
/usr/lib64/python2.7/site-packages/psutil/_compat.pyc
/usr/lib64/python2.7/site-packages/psutil/_compat.pyo
/usr/lib64/python2.7/site-packages/psutil/_psaix.py
/usr/lib64/python2.7/site-packages/psutil/_psaix.pyc
/usr/lib64/python2.7/site-packages/psutil/_psaix.pyo
/usr/lib64/python2.7/site-packages/psutil/_psbsd.py
/usr/lib64/python2.7/site-packages/psutil/_psbsd.pyc
/usr/lib64/python2.7/site-packages/psutil/_psbsd.pyo
/usr/lib64/python2.7/site-packages/psutil/_pslinux.py
/usr/lib64/python2.7/site-packages/psutil/_pslinux.pyc
/usr/lib64/python2.7/site-packages/psutil/_pslinux.pyo
/usr/lib64/python2.7/site-packages/psutil/_psosx.py
/usr/lib64/python2.7/site-packages/psutil/_psosx.pyc
/usr/lib64/python2.7/site-packages/psutil/_psosx.pyo
/usr/lib64/python2.7/site-packages/psutil/_psposix.py
/usr/lib64/python2.7/site-packages/psutil/_psposix.pyc
/usr/lib64/python2.7/site-packages/psutil/_psposix.pyo
/usr/lib64/python2.7/site-packages/psutil/_pssunos.py
/usr/lib64/python2.7/site-packages/psutil/_pssunos.pyc
/usr/lib64/python2.7/site-packages/psutil/_pssunos.pyo
/usr/lib64/python2.7/site-packages/psutil/_psutil_linux.so
/usr/lib64/python2.7/site-packages/psutil/_psutil_posix.so
/usr/lib64/python2.7/site-packages/psutil/_pswindows.py
/usr/lib64/python2.7/site-packages/psutil/_pswindows.pyc
/usr/lib64/python2.7/site-packages/psutil/_pswindows.pyo
/usr/lib64/python2.7/site-packages/psutil/tests
/usr/lib64/python2.7/site-packages/psutil/tests/__init__.py
/usr/lib64/python2.7/site-packages/psutil/tests/__init__.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/__init__.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/__main__.py
/usr/lib64/python2.7/site-packages/psutil/tests/__main__.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/__main__.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/runner.py
/usr/lib64/python2.7/site-packages/psutil/tests/runner.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/runner.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_aix.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_aix.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_aix.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_bsd.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_bsd.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_bsd.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_connections.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_connections.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_connections.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_contracts.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_contracts.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_contracts.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_linux.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_linux.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_linux.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_memory_leaks.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_memory_leaks.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_memory_leaks.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_misc.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_misc.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_misc.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_osx.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_osx.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_osx.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_posix.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_posix.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_posix.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_process.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_process.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_process.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_sunos.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_sunos.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_sunos.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_system.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_system.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_system.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_unicode.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_unicode.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_unicode.pyo
/usr/lib64/python2.7/site-packages/psutil/tests/test_windows.py
/usr/lib64/python2.7/site-packages/psutil/tests/test_windows.pyc
/usr/lib64/python2.7/site-packages/psutil/tests/test_windows.pyo
/usr/share/doc/python2-psutil-5.6.7
/usr/share/doc/python2-psutil-5.6.7/CREDITS
/usr/share/doc/python2-psutil-5.6.7/HISTORY.rst
/usr/share/doc/python2-psutil-5.6.7/README.rst
/usr/share/licenses/python2-psutil-5.6.7
/usr/share/licenses/python2-psutil-5.6.7/LICENSE
References
Summary
In this tutorial we learn how to install python2-psutil.x86_64
on Amazon Linux 2 using yum.