Uninstall Snare
Uninstalling the Snare for Linux package is relatively straightforward.
To remove the Snare for Linux binary RPM package:
Query the RPM database to ensure Snare for Linux is installed:
>sudo rpm -qaÂ
snare\*
Note:
the package name for Snare Agent v5.6.1 or newer isÂsnare-{platform}-agent
. For example, for RedHat 8:Âsnare-rhel-8-agent
the package name for Snare Agent v5.6.0 or earlier wasÂsnarelinux-supp
- Then remove the Snare for Linux RPM package
>Â sudo rpm -e <package name>
- For Snare Agent v5.6.1 or newer (example for RedHat 8):Â
>Âsudo rpm -e snare-rhel-8-agent
- For Snare Agent v5.6.0 or earlier:Â
>Âsudo rpm -eÂ
snarelinux
-supp
- For Snare Agent v5.6.1 or newer (example for RedHat 8):Â
To remove the Snare for Linux binary DEB package:
- To query the DEB package:
>Â sudo dpkg --listÂ
snare*
- To remove the DEB package: (see the package name from above command)
>Â sudo dpkg -r <package name>
- For Snare Agent v5.6.1 or newer (example for Ubuntu 20):Â
> sudo dpkg -r snare-ubuntu-20-agent
- For Snare Agent v5.6.0 or earlier:Â
>Â sudo dpkg -r snarelinux-supp
- For Snare Agent v5.6.1 or newer (example for Ubuntu 20):Â
The Snare files in /etc/audit will be renamed and backed up, e.g snare.conf-snarebackup.