How To Install chkrootkit on Fedora 36

In this tutorial we learn how to install chkrootkit in Fedora 36. chkrootkit is Tool to locally check for signs of a rootkit

Introduction

In this tutorial we learn how to install chkrootkit on Fedora 36.

What is chkrootkit

chkrootkit is a tool to locally check for signs of a rootkit. It contains * chkrootkit rootkit modification. * ifpromisc * chklastlog * chkwtmp * chkproc * chkdirs * strings * chkutmp

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

Install chkrootkit on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install chkrootkit using dnf by running the following command:

sudo dnf -y install chkrootkit

Install chkrootkit on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install chkrootkit using yum by running the following command:

sudo yum -y install chkrootkit

How To Uninstall chkrootkit on Fedora 36

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

sudo dnf remove chkrootkit

chkrootkit Package Contents on Fedora 36

/etc/pam.d/chkrootkit
/etc/security/console.apps/chkrootkit
/usr/bin/chkrootkit
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/403b86f21b15b3440146236b88a569215f7cff
/usr/lib/.build-id/14
/usr/lib/.build-id/14/203fcd47928a40d4ff525e091e404c36375a45
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/4656d44174e335315b545c917bd3116950bb18
/usr/lib/.build-id/44
/usr/lib/.build-id/44/5184a7e88ae5eda0a685d13518086f1e3db45e
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/04af5ee0c4ae820498696ade26ba41164d718c
/usr/lib/.build-id/79
/usr/lib/.build-id/79/2f43be7018c2fb2ce5b26fa15dec01c8e04e3a
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/e3275f0ff2aa0999aacc4dc419c7d0f3f7b1e3
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/a5358a8959c1c24c785053f89e154505736c6e
/usr/lib64/chkrootkit-0.55
/usr/lib64/chkrootkit-0.55/check_wtmpx
/usr/lib64/chkrootkit-0.55/chkdirs
/usr/lib64/chkrootkit-0.55/chklastlog
/usr/lib64/chkrootkit-0.55/chkproc
/usr/lib64/chkrootkit-0.55/chkrootkit
/usr/lib64/chkrootkit-0.55/chkutmp
/usr/lib64/chkrootkit-0.55/chkwtmp
/usr/lib64/chkrootkit-0.55/ifpromisc
/usr/lib64/chkrootkit-0.55/strings
/usr/lib64/chkrootkit-0.55/strings-static
/usr/sbin/chkrootkit
/usr/share/applications/chkrootkit.desktop
/usr/share/doc/chkrootkit
/usr/share/doc/chkrootkit/ACKNOWLEDGMENTS
/usr/share/doc/chkrootkit/README
/usr/share/doc/chkrootkit/README.chklastlog
/usr/share/doc/chkrootkit/README.chkwtmp
/usr/share/doc/chkrootkit/README.false_positives
/usr/share/doc/chkrootkit/chkrootkit.lsm
/usr/share/licenses/chkrootkit
/usr/share/licenses/chkrootkit/COPYRIGHT
/usr/share/pixmaps/chkrootkit.png

References

Summary

In this tutorial we learn how to install chkrootkit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).