Updated on 2025-01-06 GMT+08:00

Uninstalling the MgC Agent for Linux

The following describes how to uninstall the MgC Agent for Linux.

Procedure

  1. Go to the scripts directory in the MgC Agent installation directory.

    cd /opt/cloud/Edge/scripts/

  2. Run the MgC Agent uninstallation script.

    ./uninstall.sh

    If the information shown in the following figure is displayed, the environment variables of the MgC Agent for Linux need to be updated.

  3. Update environment variables.

    source /etc/profile

  4. Run the MgC Agent uninstallation script.

    ./uninstall.sh

    Check if the message shown in the following figure is displayed. If it is, the MgC Agent for Linux has been uninstalled.