How To Install pybugz on Fedora 34

pybugz is Command line interface for Bugzilla written in Python

Introduction

In this tutorial we learn how to install pybugz on Fedora 34.

What is pybugz

Pybugz was conceived as a tool to speed up the work-flow for Gentoo Linux contributors when dealing with bugs using Bugzilla. By avoiding the clunky web interface, the user can search, isolate and contribute to the project very quickly. Developers alike can easily extract attachments and close bugs comfortably from the command line.

We can use yum or dnf to install pybugz on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pybugz.

Install pybugz on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pybugz using dnf by running the following command:

sudo dnf -y install pybugz

Install pybugz on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pybugz using yum by running the following command:

sudo yum -y install pybugz

How To Uninstall pybugz on Fedora 34

To uninstall only the pybugz package we can use the following command:

sudo dnf remove pybugz

pybugz Package Contents on Fedora 34

/usr/bin/bugz
/usr/lib/python3.9/site-packages/bugz
/usr/lib/python3.9/site-packages/bugz/__init__.py
/usr/lib/python3.9/site-packages/bugz/__pycache__
/usr/lib/python3.9/site-packages/bugz/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/argparsers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/argparsers.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/configfile.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/configfile.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/connection.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/connection.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/errhandling.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/errhandling.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/log.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/log.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/tokens.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/tokens.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/bugz/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/bugz/argparsers.py
/usr/lib/python3.9/site-packages/bugz/cli.py
/usr/lib/python3.9/site-packages/bugz/configfile.py
/usr/lib/python3.9/site-packages/bugz/connection.py
/usr/lib/python3.9/site-packages/bugz/errhandling.py
/usr/lib/python3.9/site-packages/bugz/log.py
/usr/lib/python3.9/site-packages/bugz/tokens.py
/usr/lib/python3.9/site-packages/bugz/utils.py
/usr/lib/python3.9/site-packages/pybugz-0.11-py3.9.egg-info
/usr/share/bash-completion/completions/bugz
/usr/share/doc/pybugz
/usr/share/doc/pybugz/LICENSE
/usr/share/doc/pybugz/README
/usr/share/man/man1/bugz.1.gz
/usr/share/man/man5/pybugz.d.5.gz
/usr/share/pybugz.d
/usr/share/pybugz.d/default.conf
/usr/share/pybugz.d/freedesktop.conf
/usr/share/pybugz.d/gentoo.conf
/usr/share/pybugz.d/gnome.conf
/usr/share/pybugz.d/kernel.conf
/usr/share/pybugz.d/libav.conf
/usr/share/pybugz.d/mozilla.conf
/usr/share/pybugz.d/redhat.conf

References

Summary

In this tutorial we learn how to install pybugz on Fedora 34 using yum and dnf.