How To Install snoopy on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 411 words
Introduction
In this tutorial we learn how to install snoopy on Ubuntu.
What is snoopy
snoopy is:
snoopy is merely a shared library that is used as a wrapper to the execve() function provided by libc as to log every call to syslog (authpriv). system administrators may find snoopy useful in tasks such as light/heavy system monitoring, tracking other administrator’s actions as well as getting a good ‘feel’ of what’s going on in the system (for example Apache running cgi scripts).
This type of monitoring can be bypassed by hostile users, and should not be considered a secure replacement for tools like auditd.
There are three methods to install snoopy on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install snoopy Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install snoopy using apt-get by running the following command:
sudo apt-get -y install snoopy
Install snoopy Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install snoopy using apt by running the following command:
sudo apt -y install snoopy
Install snoopy Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install snoopy using aptitude by running the following command:
sudo aptitude -y install snoopy
How To Uninstall snoopy on Ubuntu
To uninstall only the snoopy package we can use the following command:
sudo apt-get remove snoopy
Uninstall snoopy And Its Dependencies
To uninstall snoopy and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove snoopy
Remove snoopy Configurations and Data
To remove snoopy configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge snoopy
Remove snoopy configuration, data, and all of its dependencies
We can use the following command to remove snoopy configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge snoopy
Dependencies
snoopy have the following dependencies:
References
Summary
In this tutorial we learn how to install snoopy package on Ubuntu using different package management tools: apt, apt-get and aptitude.