Linux remove nginx completely

Table of Contents

Linux remove nginx completely

Removes all but config files.

sudo apt-get remove nginx nginx-common

Removes everything.

sudo apt-get purge nginx nginx-common

After using any of the above commands, use this in order to remove dependencies used by nginx which are no longer required.

sudo apt-get autoremove

https://askubuntu.com/questions/235347/what-is-the-best-way-to-uninstall-nginx

Leave a Reply

Your email address will not be published. Required fields are marked *