How To Install python3-pynetbox on Rocky Linux 8

In this tutorial we learn how to install python3-pynetbox on Rocky Linux 8. python3-pynetbox is Python API client library for Netbox

Introduction

In this tutorial we learn how to install python3-pynetbox on Rocky Linux 8.

What is python3-pynetbox

Python API client library for Netbox. Python 3 version.

We can use yum or dnf to install python3-pynetbox on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pynetbox.

Install python3-pynetbox 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-pynetbox using dnf by running the following command:

sudo dnf -y install python3-pynetbox

Install python3-pynetbox 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-pynetbox using yum by running the following command:

sudo yum -y install python3-pynetbox

How To Uninstall python3-pynetbox on Rocky Linux 8

To uninstall only the python3-pynetbox package we can use the following command:

sudo dnf remove python3-pynetbox

python3-pynetbox Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/pynetbox
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/pynetbox-5.3.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/pynetbox/__init__.py
/usr/lib/python3.6/site-packages/pynetbox/__pycache__
/usr/lib/python3.6/site-packages/pynetbox/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core
/usr/lib/python3.6/site-packages/pynetbox/core/__init__.py
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/api.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/app.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/app.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/endpoint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/endpoint.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/query.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/query.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/response.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/response.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/core/api.py
/usr/lib/python3.6/site-packages/pynetbox/core/app.py
/usr/lib/python3.6/site-packages/pynetbox/core/endpoint.py
/usr/lib/python3.6/site-packages/pynetbox/core/query.py
/usr/lib/python3.6/site-packages/pynetbox/core/response.py
/usr/lib/python3.6/site-packages/pynetbox/core/util.py
/usr/lib/python3.6/site-packages/pynetbox/models
/usr/lib/python3.6/site-packages/pynetbox/models/__init__.py
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/circuits.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/circuits.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/dcim.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/dcim.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/extras.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/extras.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/ipam.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/ipam.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/users.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/users.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/virtualization.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/__pycache__/virtualization.cpython-36.pyc
/usr/lib/python3.6/site-packages/pynetbox/models/circuits.py
/usr/lib/python3.6/site-packages/pynetbox/models/dcim.py
/usr/lib/python3.6/site-packages/pynetbox/models/extras.py
/usr/lib/python3.6/site-packages/pynetbox/models/ipam.py
/usr/lib/python3.6/site-packages/pynetbox/models/users.py
/usr/lib/python3.6/site-packages/pynetbox/models/virtualization.py
/usr/share/doc/python3-pynetbox
/usr/share/doc/python3-pynetbox/CHANGELOG.md
/usr/share/doc/python3-pynetbox/README.md
/usr/share/licenses/python3-pynetbox
/usr/share/licenses/python3-pynetbox/LICENSE

References

Summary

In this tutorial we learn how to install python3-pynetbox on Rocky Linux 8 using yum and dnf.