How To Install python3-netaddr.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install python3-netaddr.noarch
on Amazon Linux 2.
What is python3-netaddr.noarch
A network address manipulation library for Python Provides support for Layer 3 addresses * IPv4 and IPv6 addresses, subnets, masks, prefixes * iterating, slicing, sorting, summarizing and classifying IP networks * dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap) * set based operations (unions, intersections etc) over IP addresses and subnets * parsing a large variety of different formats and notations * looking up IANA IP block information * generating DNS reverse lookups * supernetting and subnetting Layer 2 addresses * representation and manipulation MAC addresses and EUI-64 identifiers * looking up IEEE organisational information (OUI, IAB) * generating derived IPv6 addresses
We can use yum
to install python3-netaddr.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python3-netaddr.noarch.
Install python3-netaddr.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-netaddr.noarch
using yum
by running the following command:
sudo yum -y install python3-netaddr.noarch
How To Uninstall python3-netaddr.noarch on Amazon Linux 2
To uninstall only the python3-netaddr.noarch
package we can use the following command:
sudo yum remove python3-netaddr.noarch
python3-netaddr.noarch Package Contents on Amazon Linux 2
/usr/bin/netaddr-3.7
/usr/lib/python3.7/site-packages/netaddr
/usr/lib/python3.7/site-packages/netaddr-0.7.18-py3.7.egg-info
/usr/lib/python3.7/site-packages/netaddr/__init__.py
/usr/lib/python3.7/site-packages/netaddr/__pycache__
/usr/lib/python3.7/site-packages/netaddr/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/compat.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/compat.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/core.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/core.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/fbsocket.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/__pycache__/fbsocket.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/compat.py
/usr/lib/python3.7/site-packages/netaddr/core.py
/usr/lib/python3.7/site-packages/netaddr/eui
/usr/lib/python3.7/site-packages/netaddr/eui/__init__.py
/usr/lib/python3.7/site-packages/netaddr/eui/__pycache__
/usr/lib/python3.7/site-packages/netaddr/eui/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/eui/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/eui/__pycache__/ieee.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/eui/__pycache__/ieee.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/eui/iab.idx
/usr/lib/python3.7/site-packages/netaddr/eui/iab.txt
/usr/lib/python3.7/site-packages/netaddr/eui/ieee.py
/usr/lib/python3.7/site-packages/netaddr/eui/oui.idx
/usr/lib/python3.7/site-packages/netaddr/eui/oui.txt
/usr/lib/python3.7/site-packages/netaddr/fbsocket.py
/usr/lib/python3.7/site-packages/netaddr/ip
/usr/lib/python3.7/site-packages/netaddr/ip/__init__.py
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/glob.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/glob.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/iana.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/iana.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/nmap.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/nmap.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/rfc1924.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/rfc1924.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/sets.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/__pycache__/sets.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/ip/glob.py
/usr/lib/python3.7/site-packages/netaddr/ip/iana.py
/usr/lib/python3.7/site-packages/netaddr/ip/ipv4-address-space.xml
/usr/lib/python3.7/site-packages/netaddr/ip/ipv6-address-space.xml
/usr/lib/python3.7/site-packages/netaddr/ip/ipv6-unicast-address-assignments.xml
/usr/lib/python3.7/site-packages/netaddr/ip/multicast-addresses.xml
/usr/lib/python3.7/site-packages/netaddr/ip/nmap.py
/usr/lib/python3.7/site-packages/netaddr/ip/rfc1924.py
/usr/lib/python3.7/site-packages/netaddr/ip/sets.py
/usr/lib/python3.7/site-packages/netaddr/strategy
/usr/lib/python3.7/site-packages/netaddr/strategy/__init__.py
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/eui48.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/eui48.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/eui64.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/eui64.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/ipv4.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/ipv4.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/ipv6.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/__pycache__/ipv6.cpython-37.pyc
/usr/lib/python3.7/site-packages/netaddr/strategy/eui48.py
/usr/lib/python3.7/site-packages/netaddr/strategy/eui64.py
/usr/lib/python3.7/site-packages/netaddr/strategy/ipv4.py
/usr/lib/python3.7/site-packages/netaddr/strategy/ipv6.py
/usr/share/doc/python3-netaddr-0.7.18
/usr/share/doc/python3-netaddr-0.7.18/AUTHORS
/usr/share/doc/python3-netaddr-0.7.18/CHANGELOG
/usr/share/doc/python3-netaddr-0.7.18/README.md
/usr/share/doc/python3-netaddr-0.7.18/html
/usr/share/doc/python3-netaddr-0.7.18/html/.buildinfo
/usr/share/doc/python3-netaddr-0.7.18/html/_modules
/usr/share/doc/python3-netaddr-0.7.18/html/_modules/index.html
/usr/share/doc/python3-netaddr-0.7.18/html/_modules/netaddr.html
/usr/share/doc/python3-netaddr-0.7.18/html/_sources
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/api.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/authors.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/changes.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/contributors.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/copyright.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/index.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/installation.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/introduction.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/license.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/references.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/tutorial_01.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/tutorial_02.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_sources/tutorial_03.txt
/usr/share/doc/python3-netaddr-0.7.18/html/_static
/usr/share/doc/python3-netaddr-0.7.18/html/_static/ajax-loader.gif
/usr/share/doc/python3-netaddr-0.7.18/html/_static/basic.css
/usr/share/doc/python3-netaddr-0.7.18/html/_static/comment-bright.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/comment-close.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/comment.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/default.css
/usr/share/doc/python3-netaddr-0.7.18/html/_static/doctools.js
/usr/share/doc/python3-netaddr-0.7.18/html/_static/down-pressed.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/down.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/file.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/jquery.js
/usr/share/doc/python3-netaddr-0.7.18/html/_static/minus.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/plus.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/pygments.css
/usr/share/doc/python3-netaddr-0.7.18/html/_static/searchtools.js
/usr/share/doc/python3-netaddr-0.7.18/html/_static/sidebar.js
/usr/share/doc/python3-netaddr-0.7.18/html/_static/underscore.js
/usr/share/doc/python3-netaddr-0.7.18/html/_static/up-pressed.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/up.png
/usr/share/doc/python3-netaddr-0.7.18/html/_static/websupport.js
/usr/share/doc/python3-netaddr-0.7.18/html/api.html
/usr/share/doc/python3-netaddr-0.7.18/html/authors.html
/usr/share/doc/python3-netaddr-0.7.18/html/changes.html
/usr/share/doc/python3-netaddr-0.7.18/html/contributors.html
/usr/share/doc/python3-netaddr-0.7.18/html/copyright.html
/usr/share/doc/python3-netaddr-0.7.18/html/genindex.html
/usr/share/doc/python3-netaddr-0.7.18/html/index.html
/usr/share/doc/python3-netaddr-0.7.18/html/installation.html
/usr/share/doc/python3-netaddr-0.7.18/html/introduction.html
/usr/share/doc/python3-netaddr-0.7.18/html/license.html
/usr/share/doc/python3-netaddr-0.7.18/html/objects.inv
/usr/share/doc/python3-netaddr-0.7.18/html/references.html
/usr/share/doc/python3-netaddr-0.7.18/html/search.html
/usr/share/doc/python3-netaddr-0.7.18/html/searchindex.js
/usr/share/doc/python3-netaddr-0.7.18/html/tutorial_01.html
/usr/share/doc/python3-netaddr-0.7.18/html/tutorial_02.html
/usr/share/doc/python3-netaddr-0.7.18/html/tutorial_03.html
/usr/share/licenses/python3-netaddr-0.7.18
/usr/share/licenses/python3-netaddr-0.7.18/COPYRIGHT
/usr/share/licenses/python3-netaddr-0.7.18/LICENSE
References
Summary
In this tutorial we learn how to install python3-netaddr.noarch
on Amazon Linux 2 using yum.