How To Install python3-csdiff on Rocky Linux 8

In this tutorial we learn how to install python3-csdiff on Rocky Linux 8. python3-csdiff is Python interface to csdiff for Python 3

Introduction

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

What is python3-csdiff

This package contains the Python 3 binding for the csdiff tool for comparing code scan defect lists to find out added or fixed defects.

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

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

sudo dnf -y install python3-csdiff

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

sudo yum -y install python3-csdiff

How To Uninstall python3-csdiff on Rocky Linux 8

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

sudo dnf remove python3-csdiff

python3-csdiff Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/4dce1d0a060f2a68dd7df3a466a5f0e83bac87
/usr/lib64/python3.6/site-packages/pycsdiff.so
/usr/share/doc/python3-csdiff
/usr/share/doc/python3-csdiff/COPYING

References

Summary

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