How To Install python-ipaddr.noarch on Amazon Linux 2
In this tutorial we learn how to install python-ipaddr.noarch in Amazon Linux 2. python-ipaddr.noarch is A python library for working with IP addresses, both IPv4 and IPv6
Introduction
In this tutorial we learn how to install python-ipaddr.noarch on Amazon Linux 2.
What is python-ipaddr.noarch
python-ipaddr is a library for working with IP addresses, both IPv4 and IPv6. It was developed by Google for internal use, and is now open source.
We can use yum to install python-ipaddr.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-ipaddr.noarch.
Install python-ipaddr.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-ipaddr.noarch using yum by running the following command:
sudo yum -y install python-ipaddr.noarch
How To Uninstall python-ipaddr.noarch on Amazon Linux 2
To uninstall only the python-ipaddr.noarch package we can use the following command:
sudo yum remove python-ipaddr.noarch
python-ipaddr.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/ipaddr-2.1.11-py2.7.egg-info
/usr/lib/python2.7/site-packages/ipaddr.py
/usr/lib/python2.7/site-packages/ipaddr.pyc
/usr/lib/python2.7/site-packages/ipaddr.pyo
/usr/share/doc/python-ipaddr-2.1.11
/usr/share/doc/python-ipaddr-2.1.11/COPYING
/usr/share/doc/python-ipaddr-2.1.11/README
/usr/share/doc/python-ipaddr-2.1.11/RELEASENOTES
References
Summary
In this tutorial we learn how to install python-ipaddr.noarch on Amazon Linux 2 using yum.