How To Install python3-bugzilla on Rocky Linux 8

In this tutorial we learn how to install python3-bugzilla on Rocky Linux 8. python3-bugzilla is Python library for interacting with Bugzilla

Introduction

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

What is python3-bugzilla

python-bugzilla is a python library for interacting with bugzilla instances over XMLRPC or REST.

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

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

sudo dnf -y install python3-bugzilla

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

sudo yum -y install python3-bugzilla

How To Uninstall python3-bugzilla on Rocky Linux 8

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

sudo dnf remove python3-bugzilla

python3-bugzilla Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/bugzilla
/usr/lib/python3.6/site-packages/bugzilla/__init__.py
/usr/lib/python3.6/site-packages/bugzilla/__pycache__
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_authfiles.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_authfiles.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendbase.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendbase.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendrest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendrest.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendxmlrpc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_backendxmlrpc.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_rhconverters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_rhconverters.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_session.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_session.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/apiversion.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/apiversion.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/bug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/bug.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/oldclasses.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/oldclasses.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/rhbugzilla.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/bugzilla/__pycache__/rhbugzilla.cpython-36.pyc
/usr/lib/python3.6/site-packages/bugzilla/_authfiles.py
/usr/lib/python3.6/site-packages/bugzilla/_backendbase.py
/usr/lib/python3.6/site-packages/bugzilla/_backendrest.py
/usr/lib/python3.6/site-packages/bugzilla/_backendxmlrpc.py
/usr/lib/python3.6/site-packages/bugzilla/_cli.py
/usr/lib/python3.6/site-packages/bugzilla/_rhconverters.py
/usr/lib/python3.6/site-packages/bugzilla/_session.py
/usr/lib/python3.6/site-packages/bugzilla/_util.py
/usr/lib/python3.6/site-packages/bugzilla/apiversion.py
/usr/lib/python3.6/site-packages/bugzilla/base.py
/usr/lib/python3.6/site-packages/bugzilla/bug.py
/usr/lib/python3.6/site-packages/bugzilla/exceptions.py
/usr/lib/python3.6/site-packages/bugzilla/oldclasses.py
/usr/lib/python3.6/site-packages/bugzilla/rhbugzilla.py
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/python_bugzilla-3.0.2-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-bugzilla
/usr/share/doc/python3-bugzilla/COPYING
/usr/share/doc/python3-bugzilla/NEWS.md
/usr/share/doc/python3-bugzilla/README.md

References

Summary

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