uninstall nginx in ubuntu code example Example: uninstall nginx sudo apt-get purge nginx nginx-common