Uninstall Nessus on Linux
Optional: Export your Scans and Policies
- Go to the folder or folders where you store your scans.
- Double-click the scan to view its dashboard.
- In the upper right corner, select the Export button, and then choose the Nessus DB option.
Stop Nessus Processes
- From within Nessus, verify any running scans have completed.
-
From a command prompt, stop the nessusd daemon.
Examples: Nessus Daemon Stop Commands
Debian/Kali and Ubuntu# /etc/init.d/nessusd stop
FreeBSD# service nessusd stop
Red Hat, CentOS, and Oracle Linux# /sbin/service nessusd stop
SUSE# /etc/rc.d/nessusd stop
Remove Nessus
-
Run the remove command specific to your Linux-style operating system.
Examples: Nessus Remove Commands
Debian/Kali and Ubuntu# dpkg -r Nessus
FreeBSD# pkg delete Nessus
Red Hat 6 and 7, CentOS 6 and 7, Oracle Linux 6 and 7# yum remove Nessus
Red Hat 8 and later, CentOS 8 and later, Oracle Linux 8 and later, Fedora# dnf remove Nessus
SUSE# sudo zypper remove Nessus
-
Using the command specific to your Linux-style operating system, remove remaining files that were not part of the original installation.
Examples: Nessus Remove Command
FreeBSD# rm -rf /usr/local/nessus/bin
Linux# rm -rf /opt/nessus
This completes the process of uninstalling the Nessus on the Linux operating systems.