How To Install python3-IPy on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-IPy
on Rocky Linux 8.
What is python3-IPy
IPy is a Python 3 module for handling IPv4 and IPv6 Addresses and Networks in a fashion similar to perl’s Net a comfortable parsing and handling for most notations in use for IPv4 and IPv6 Addresses and Networks.
We can use yum
or dnf
to install python3-IPy
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-IPy.
Install python3-IPy on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-IPy
using dnf
by running the following command:
sudo dnf -y install python3-IPy
Install python3-IPy on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-IPy
using yum
by running the following command:
sudo yum -y install python3-IPy
How To Uninstall python3-IPy on Rocky Linux 8
To uninstall only the python3-IPy
package we can use the following command:
sudo dnf remove python3-IPy
python3-IPy Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/IPy-1.00-py3.6.egg-info
/usr/lib/python3.6/site-packages/IPy.py
/usr/lib/python3.6/site-packages/__pycache__/IPy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/IPy.cpython-36.pyc
/usr/share/doc/python3-IPy
/usr/share/doc/python3-IPy/AUTHORS
/usr/share/doc/python3-IPy/ChangeLog
/usr/share/doc/python3-IPy/README.rst
/usr/share/licenses/python3-IPy
/usr/share/licenses/python3-IPy/COPYING
References
Summary
In this tutorial we learn how to install python3-IPy
on Rocky Linux 8 using yum and dnf.