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