42
Chapter 4
--
snip
--
Do you want to continue [Y/n]?
Listing 4-4: Removing Snort and the accompanying configuration files with
apt-get purge
Simply enter
Y
at the prompt to continue the purge of the software
package and the configuration files.
You may have noticed the line
The following packages were automatically
installed and are no longer required
in the output. To keep things small and
modular, many Linux packages are broken into software units that many
different programs might use. When you installed Snort, you installed sev-
eral dependencies or libraries with it that Snort requires in order to run.
Now that you’re removing Snort, those other libraries or dependencies are
no longer required, so they can be removed by running
apt autoremove
.
kali > apt autoremove snort
Reading Package lists...Done
Building dependency tree
Reading state information ...done
--
snip
--
Removing snort-common-libaries (2.9.7.0-5)...
Removing libdaq2 (2.04-3+b1) …
Removing oikmaster (2.0-4)
--
snip
--