Installlion's Logo

Installlion.com

How To Uninstall nginx On Ubuntu 16.04 LTS

To uninstall nginx just follow these instructions.

Uninstall just nginx

small, powerful, scalable web/proxy serverUbuntu 16.04 LTSweb1.9.15-0ubuntu1
sudo apt-get remove nginx

This will remove just the nginx package itself.

Uninstall nginx and its dependencies

sudo apt-get remove --auto-remove nginx

This will remove the nginx package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for nginx then this will work.

 Caution! Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge nginx

Or similarly, like this nginx

sudo apt-get purge --auto-remove nginx

Package Data

Packagenginx
Version1.9.15-0ubuntu1
MaintainerUbuntu Developers <[email protected]>
Home pagehttp://nginx.net
Descriptionsmall, powerful, scalable web/proxy server
Distroubuntu
Releasexenial
Repomain
Sectionweb

Dependencies