Ways to Install or Uninstall snoopy on Ubuntu 22.04

Updated: September 8, 2022

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). In this guide, I will show you how to install snoopy on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install snoopy on Ubuntu 22.04

Install snoopy Ubuntu 22.04

snoopy is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install snoopy using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to get snoopy on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install snoopy Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install snoopy

Install snoopy using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After that, you can now install snoopy by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install snoopy Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install snoopy

Uninstall snoopy on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a snoopy, can be easily uninstalled by anyone.

If you installed snoopy using APT or Aptitude, you could uninstall snoopy on Ubuntu by running this command

sudo apt remove --auto-remove snoopy

If you want to uninstall snoopy and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge snoopy

Summary

In this tutorial, I showed you ways to install snoopy on Ubuntu 22.04 and some ways to uninstall snoopy too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.