Installing and Removing Nessus on Ubuntu
Installing and Removing Nessus on Ubuntu
Quick reference notes for installing Nessus on Ubuntu via .deb package, and for cleanly removing it afterward.
Download
Grab the appropriate .deb package from the official Tenable downloads page:
https://www.tenable.com/downloads/nessus
Install
Install the downloaded package with dpkg:
1
dpkg -i Nessus-10.12.1-ubuntu1604_amd64.deb
Start the Nessus service:
1
systemctl start nessusd.service
Initial Access
Once the service is running, access the web UI at:
1
https://<host>:8834
From there, complete the setup wizard and activate your license (activation code from Tenable).
Uninstall / Cleanup
To fully remove Nessus and its residual files:
1
2
3
4
5
6
7
8
# 1. Stop the Nessus service
systemctl stop nessusd.service
# 2. Purge the package and remove remaining residual configuration files
dpkg --purge nessus
# 3. Explicitly delete residual configuration, plugin, and license directories left behind
rm -rf /opt/nessus /var/lib/nessus /var/log/nessus
This ensures no leftover config, plugin data, or license files remain before a fresh reinstall.
Notes to self:
- Package version will change over time — always grab the latest
.debfrom the Tenable downloads page rather than reusing an old filename. - Port
8834needs to be reachable to access the setup wizard. dpkg --purgealone doesn’t always clear/opt/nessusand/var/lib/nessus— the manualrm -rfstep is needed for a truly clean slate.
This post is licensed under CC BY 4.0 by the author.