How To Install python-IPy.noarch on Amazon Linux 2

In this tutorial we learn how to install python-IPy.noarch in Amazon Linux 2. python-IPy.noarch is Python module for handling IPv4 and IPv6 Addresses and Networks

Introduction

In this tutorial we learn how to install python-IPy.noarch on Amazon Linux 2.

What is python-IPy.noarch

IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks in a fashion similar to perl’s Net IP class allows a comfortable parsing and handling for most notations in use for IPv4 and IPv6 Addresses and Networks.

We can use yum to install python-IPy.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-IPy.noarch.

Install python-IPy.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-IPy.noarch using yum by running the following command:

sudo yum -y install python-IPy.noarch

How To Uninstall python-IPy.noarch on Amazon Linux 2

To uninstall only the python-IPy.noarch package we can use the following command:

sudo yum remove python-IPy.noarch

python-IPy.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/IPy-0.75-py2.7.egg-info
/usr/lib/python2.7/site-packages/IPy.py
/usr/lib/python2.7/site-packages/IPy.pyc
/usr/lib/python2.7/site-packages/IPy.pyo
/usr/share/doc/python-IPy-0.75
/usr/share/doc/python-IPy-0.75/AUTHORS
/usr/share/doc/python-IPy-0.75/COPYING
/usr/share/doc/python-IPy-0.75/ChangeLog
/usr/share/doc/python-IPy-0.75/PKG-INFO
/usr/share/doc/python-IPy-0.75/README

References

Summary

In this tutorial we learn how to install python-IPy.noarch on Amazon Linux 2 using yum.