how to remove nginx on ubuntu 18 code example Example: uninstall nginx sudo apt-get purge nginx nginx-common