Uninstalling the MgC Agent on Linux
The following describes how to uninstall the MgC Agent for Linux.
Procedure
- Go to the scripts directory in the MgC Agent installation directory.
cd /opt/cloud/Edge/scripts/
- 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.

- Update environment variables.
source /opt/cloud/Edge/scripts/setenv.sh
- 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.
