Uninstall Nessus on Linux
Required user role when using Tenable Nessus Manager: System Administrator
Use the following procedure to uninstall Tenable Nessus on Linux.
Before you begin:
- 
                                                            
(Optional) Export your scans and policies.
 - 
                                                            
Uninstall Tenable Nessus using the following steps:
 
To uninstall Tenable Nessus from Linux:
- In Tenable Nessus, verify that 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
Red Hat, CentOS, and Oracle Linux
                                                                # /sbin/service nessusd stop
SUSE
                                                                # /etc/rc.d/nessusd stop
 - 
                                                            
Run the remove Tenable Nessus command specific to your Linux-style operating system.
Examples: Nessus Remove Commands
Debian/Kali and Ubuntu
                                                                # dpkg -r 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
Linux
                                                                # rm -rf /opt/nessus