How to Install and Uninstall python-ipaddress.noarch Package on Amazon Linux 2

Last updated: April 26,2024

1. Install "python-ipaddress.noarch" package

Please follow the instructions below to install python-ipaddress.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-ipaddress.noarch

2. Uninstall "python-ipaddress.noarch" package

Please follow the guidance below to uninstall python-ipaddress.noarch on Amazon Linux 2:

$ sudo yum remove python-ipaddress.noarch $ sudo yum autoremove

3. Information about the python-ipaddress.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python-ipaddress
Arch : noarch
Version : 1.0.16
Release : 2.amzn2
Size : 34 k
Repo : amzn2-core/2/x86_64
Summary : Port of the python 3.3+ ipaddress module to 2.6+
URL : https://pypi.python.org/pypi/ipaddress/1.0.16
License : Python
Description : ipaddress provides the capabilities to create, manipulate and
: operate on IPv4 and IPv6 addresses and networks.
:
: The functions and classes in this module make it straightforward
: to handle various tasks related to IP addresses, including
: checking whether or not two hosts are on the same subnet,
: iterating over all hosts in a particular subnet, checking whether
: or not a string represents a valid IP address or network
: definition, and so on.