how to uninstall nginx in centos 7 code example Example: uninstall nginx sudo apt-get purge nginx nginx-common