How To Install csclng on Fedora 34

csclng is A compiler wrapper that runs Clang in background

Introduction

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

What is csclng

This package contains the csclng compiler wrapper that runs the Clang analyzer in background fully transparently.

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

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

sudo dnf -y install csclng

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

sudo yum -y install csclng

How To Uninstall csclng on Fedora 34

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

sudo dnf remove csclng

csclng Package Contents on Fedora 34

/usr/bin/csclng
/usr/bin/csclng++
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/37fe1d13950111d110cf2523c466665ea82b32
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/869dc76486169189fa78ac89803f2dcf50817a
/usr/lib64/csclng
/usr/lib64/csclng/c++
/usr/lib64/csclng/cc
/usr/lib64/csclng/g++
/usr/lib64/csclng/gcc
/usr/lib64/csclng/x86_64-redhat-linux-c++
/usr/lib64/csclng/x86_64-redhat-linux-g++
/usr/lib64/csclng/x86_64-redhat-linux-gcc
/usr/share/doc/csclng
/usr/share/doc/csclng/COPYING
/usr/share/man/man1/csclng.1.gz
/usr/bin/csclng
/usr/bin/csclng++
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/8a5a70179aea598990d9e45fc5bf20606241a4
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/74637e696399c159cffc9a1db5fac0e75e39a0
/usr/lib64/csclng
/usr/lib64/csclng/c++
/usr/lib64/csclng/cc
/usr/lib64/csclng/g++
/usr/lib64/csclng/gcc
/usr/lib64/csclng/x86_64-redhat-linux-c++
/usr/lib64/csclng/x86_64-redhat-linux-g++
/usr/lib64/csclng/x86_64-redhat-linux-gcc
/usr/share/doc/csclng
/usr/share/doc/csclng/COPYING
/usr/share/man/man1/csclng.1.gz

References

Summary

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