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 CommandsRed Hat, CentOS, and Oracle Linux
# /sbin/service nessusd stopSUSE
# /etc/rc.d/nessusd stopFreeBSD
# service nessusd stopDebian/Kali and Ubuntu
# /etc/init.d/nessusd stop
Run the remove command specific to your Linux-style operating system.
Examples: Nessus Remove CommandsRed Hat 6 and 7, CentOS 6 and 7, Oracle Linux 6 and 7
# yum remove NessusRed Hat 8 and later, CentOS 8 and later, Oracle Linux 8 and later, Fedora, SUSE
# dnf remove NessusDebian/Kali and Ubuntu
# dpkg -r NessusFreeBSD
# pkg delete 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 CommandLinux
# rm -rf /opt/nessusFreeBSD
# rm -rf /usr/local/nessus/bin
This completes the process of uninstalling the Nessus on the Linux operating systems.