linux remove unistal nginx code example Example: uninstall nginx sudo apt-get purge nginx nginx-common