Uninstall NGINX Agent package

Learn how to uninstall NGINX Agent from your system.

Complete the following steps on each host where you’ve installed NGINX Agent

Complete the following steps on each host where you’ve installed NGINX Agent:

  1. Stop NGINX Agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX Agent, run the following command:

    sudo yum remove nginx-agent

Complete the following steps on each host where you’ve installed NGINX Agent:

  1. Stop NGINX Agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX Agent, run the following command:

    sudo apt-get remove nginx-agent

    Note: The apt-get remove <package> command will remove the package from your system, while keeping the associated configuration files for possible future use. If you want to completely remove the package and all of its configuration files, you should use apt-get purge <package>.

Complete the following steps on each host where you’ve installed NGINX Agent:

  1. Stop NGINX Agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX Agent, run the following command:

    sudo apt-get remove nginx-agent

    Note: The apt-get remove <package> command will remove the package from your system, while keeping the associated configuration files for possible future use. If you want to completely remove the package and all of its configuration files, you should use apt-get purge <package>.

Complete the following steps on each host where you’ve installed NGINX Agent:

  1. Stop NGINX agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX agent, run the following command:

    sudo zypper remove nginx-agent

Complete the following steps on each host where you’ve installed NGINX agent:

  1. Stop NGINX agent:

    sudo rc-service nginx-agent stop
  2. To uninstall NGINX agent, run the following command:

    sudo apk del nginx-agent

Complete the following steps on each host where you’ve installed NGINX agent:

  1. Stop NGINX agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX agent, run the following command:

    sudo yum remove nginx-agent

Complete the following steps on each host where you’ve installed NGINX agent:

  1. Stop NGINX agent:

    sudo systemctl stop nginx-agent
  2. To uninstall NGINX agent, run the following command:

    sudo dnf remove nginx-agent

Complete the following steps on each host where you’ve installed NGINX agent:

  1. Stop NGINX agent:

    sudo service nginx-agent stop
  2. To uninstall NGINX agent, run the following command:

    sudo pkg delete nginx-agent