How To Install cscppc on Rocky Linux 8

In this tutorial we learn how to install cscppc on Rocky Linux 8. cscppc is A compiler wrapper that runs cppcheck in background

Introduction

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

What is cscppc

This package contains the cscppc compiler wrapper that runs cppcheck in background fully transparently.

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

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

sudo dnf -y install cscppc

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

sudo yum -y install cscppc

How To Uninstall cscppc on Rocky Linux 8

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

sudo dnf remove cscppc

cscppc Package Contents on Rocky Linux 8

/usr/bin/cscppc
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/2777513d182507383471e6c14b6f447e49a066
/usr/lib64/cscppc
/usr/lib64/cscppc/c++
/usr/lib64/cscppc/cc
/usr/lib64/cscppc/g++
/usr/lib64/cscppc/gcc
/usr/lib64/cscppc/x86_64-redhat-linux-c++
/usr/lib64/cscppc/x86_64-redhat-linux-g++
/usr/lib64/cscppc/x86_64-redhat-linux-gcc
/usr/share/cscppc
/usr/share/cscppc/default.supp
/usr/share/doc/cscppc
/usr/share/doc/cscppc/COPYING
/usr/share/doc/cscppc/README
/usr/share/man/man1/cscppc.1.gz

References

Summary

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