Uninstall Observium Ubuntu Jun 2026

sudo apt-get remove --purge apache2 mysql-server php7.4 php7.4-cli php7.4-mysql php7.4-gd php7.4-snmp php7.4-curl snmp fping graphviz rrdtool

Run the following command to drop the Observium database (replace observium with your actual database name if you customized it during installation): DROP DATABASE observium; Use code with caution.

, removing it involves a few manual steps to clean up the files, the database, and the background services. uninstall observium ubuntu

Before running any commands, make sure you address the following:

sudo rm /etc/cron.d/observium sudo userdel -r observium || true sudo find / -iname ' observium ' -maxdepth 4 sudo apt-get remove --purge apache2 mysql-server php7

Observium sometimes has custom PHP overrides:

If you installed Ubuntu solely for Observium and want to strip the server down to the basics, you can remove the web server and database server. If you want a cleaner approach, you can

If you want a cleaner approach, you can list all installed PHP-related packages and remove them one by one. After purging, run sudo apt autoremove to clean up any orphaned dependencies.