How To Install snoopy on AlmaLinux 8
Introduction
In this tutorial we learn how to install snoopy on AlmaLinux 8.
What is snoopy
Snoopy is designed to aid a sysadmin by providing a log of commands executed. Snoopy is completely transparent to the user and applications. It is linked into programs to provide a wrapper around calls to execve(). Logging is done via syslog.
We can use yum or dnf to install snoopy on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install snoopy.
Install snoopy on AlmaLinux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install snoopy using dnf by running the following command:
sudo dnf -y install snoopy
Install snoopy on AlmaLinux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install snoopy using yum by running the following command:
sudo yum -y install snoopy
How To Uninstall snoopy on AlmaLinux 8
To uninstall only the snoopy package we can use the following command:
sudo dnf remove snoopy
References
Summary
In this tutorial we learn how to install snoopy on AlmaLinux 8 using yum and dnf.