How To Install csdiff on Rocky Linux 8

In this tutorial we learn how to install csdiff on Rocky Linux 8. csdiff is Non-interactive tools for processing code scan results in plain-text

Introduction

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

What is csdiff

This package contains the csdiff tool for comparing code scan defect lists in order to find out added or fixed defects, and the csgrep utility for filtering defect lists using various filtering predicates.

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

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

sudo dnf -y install csdiff

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

sudo yum -y install csdiff

How To Uninstall csdiff on Rocky Linux 8

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

sudo dnf remove csdiff

csdiff Package Contents on Rocky Linux 8

/usr/bin/csdiff
/usr/bin/csgrep
/usr/bin/cshtml
/usr/bin/cslinker
/usr/bin/cssort
/usr/bin/cstrans-df-run
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/686fb2633b6e3bf9f00d312c05f6c19c854243
/usr/lib/.build-id/36
/usr/lib/.build-id/36/f1143d9e91941c01f673509ac3b3b6f908be13
/usr/lib/.build-id/45
/usr/lib/.build-id/45/9bfe5be4337450084de500e6ba99b5dfd02436
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/5efa8406088cdd02fe2a145a89451f2f734c5c
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/802fcc4bc2747060b60d6d227293067684ac90
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/bf6d6b9d8097558e60438b0b59452ec1303f6e
/usr/share/csdiff
/usr/share/csdiff/cwe-names.csv
/usr/share/doc/csdiff
/usr/share/doc/csdiff/COPYING
/usr/share/doc/csdiff/README
/usr/share/man/man1/csdiff.1.gz
/usr/share/man/man1/csgrep.1.gz
/usr/share/man/man1/cshtml.1.gz
/usr/share/man/man1/cslinker.1.gz
/usr/share/man/man1/cssort.1.gz
/usr/share/man/man1/cstrans-df-run.1.gz

References

Summary

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