Uninstalling the Toolbox

If a .deb package is obtained, run the following commands to uninstall the Toolbox:
  • dpkg mode:
    dpkg -P toolbox
  • apt mode:
    apt remove toolbox

Method 1: Using a Script

You can run the uninstallation script to uninstall the Toolbox.

  1. Log in to the installation environment as the installation user of the software package.
  2. Go to the directory where the uninstallation script of the Toolbox software is stored. Generally, the uninstallation script is stored in the script directory. (The default installation path of the root user is used as an example.)

    cd /usr/local/Ascend/toolbox/{version}/script

  3. Run the ./uninstall.sh command to run the script.

The uninstall.sh script also exists in the latest/script directory of the Toolbox installation path and the script directory of the subcomponent installation path. This script is an internal script. Do not use it directly.

Method 2: Uninstalling a Software Package

To uninstall an installed software package, perform the following steps:

  1. Log in to the installation environment as the installation user of the software package.
  2. Go to the directory where the software package is stored.
  3. Run the following commands to uninstall the software package:

    ./Ascend-mindx-toolbox_{version}_linux-{arch}.run --uninstall

    If the following information is displayed, the software is successfully uninstalled:
    [INFO] xxx uninstall success

    xxx indicates the name of the software package to be uninstalled.