How To Install python-six.noarch on Amazon Linux 2
In this tutorial we learn how to install python-six.noarch in Amazon Linux 2. python-six.noarch is Python 2 and 3 compatibility utilities
Introduction
In this tutorial we learn how to install python-six.noarch on Amazon Linux 2.
What is python-six.noarch
python-six provides simple utilities for wrapping over differences between Python 2 and Python 3. This is the Python 2 build of the module.
We can use yum to install python-six.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-six.noarch.
Install python-six.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-six.noarch using yum by running the following command:
sudo yum -y install python-six.noarch
How To Uninstall python-six.noarch on Amazon Linux 2
To uninstall only the python-six.noarch package we can use the following command:
sudo yum remove python-six.noarch
python-six.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/six.py
/usr/lib/python2.7/site-packages/six.pyc
/usr/lib/python2.7/site-packages/six.pyo
/usr/share/doc/python-six-1.9.0
/usr/share/doc/python-six-1.9.0/LICENSE
/usr/share/doc/python-six-1.9.0/README
/usr/share/doc/python-six-1.9.0/index.rst
References
Summary
In this tutorial we learn how to install python-six.noarch on Amazon Linux 2 using yum.