How To Install python3-rpmfluff on Rocky Linux 8

In this tutorial we learn how to install python3-rpmfluff on Rocky Linux 8. python3-rpmfluff is Lightweight way of building RPMs, and sabotaging them

Introduction

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

What is python3-rpmfluff

rpmfluff provides a python library for building RPM packages, and sabotaging them so they are broken in controlled ways. It is intended for use when validating package analysis tools such as RPM lint. It can also be used to construct test cases for package management software such as rpm and yum. Python 3 version.

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

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

sudo dnf -y install python3-rpmfluff

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

sudo yum -y install python3-rpmfluff

How To Uninstall python3-rpmfluff on Rocky Linux 8

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

sudo dnf remove python3-rpmfluff

python3-rpmfluff Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/__pycache__/rpmfluff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/rpmfluff.cpython-36.pyc
/usr/lib/python3.6/site-packages/rpmfluff-0.5.7.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/rpmfluff.py
/usr/share/doc/python3-rpmfluff
/usr/share/doc/python3-rpmfluff/README.md
/usr/share/licenses/python3-rpmfluff
/usr/share/licenses/python3-rpmfluff/LICENSE

References

Summary

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