Uninstalling the Package

Follow either of the following methods to uninstall the tool:

  • By running the uninstallation command in any path:
    bash ${INSTALL_DIR}/tools/nca/script/uninstall.sh

    Replace ${INSTALL_DIR} with the AMCT installation path.

  • By using the runfile:

    Run the following command in the runfile directory:

    ./Ascend-nca-{software version}-{os}.{arch}.run --uninstall 

    If an installation path is specified during installation, the --install-path=${install_path} option must be included in the uninstallation command.

You should see the following information if the uninstallation is successful:

Nca package uninstalled successfully!