Uninstallation (Linux)
If you do not need MindStudio and Ascend-CANN-Toolkit anymore, uninstall them as follows. If you uninstall the Toolkit only, other MindStudio functions may be unavailable. Exercise caution when uninstalling the Toolkit. If you want to upgrade Ascend-CANN-Toolkit, refer to "Basic Operations > CANN Manager" in the MindStudio User Guide to install its latest version.
Manually Uninstalling MindStudio
Remove the MindStudio directory from the $HOME directory in Linux as the MindStudio installation user. (The directory is generated after the extraction of the MindStudio tar.gz package.)
The deletion command is as follows:
rm -rf MindStudio
Uninstalling MindStudio does not delete data in the following directories:
- $HOME/.cache/Huawei/MindStudioMS-{version}: stores runtime logs generated after MindStudio is installed and launched.
- $HOME/.config/Huawei/MindStudioMS-{version}: stores user configurations.
- $HOME/.local/share/Huawei/MindStudioMS-{version}: stores user plugin information.
- $HOME/.mindstudio: stores the records of operations performed by users in the MindStudio privacy statement window.
- MindStudioProjects: projects created by the user.
To restore the initial MindStudio configuration, run the following commands as the MindStudio installation user in the $HOME directory to delete the user configurations:
rm -rf .cache/Huawei/MindStudioMS-x.x/
rm -rf .config/Huawei/MindStudioMS-x.x/
rm -rf .local/share/Huawei/MindStudioMS-x.x/
rm -rf .mindstudio/
rm -rf {Path_of_the_created_project}
Manually Uninstalling Ascend-CANN-Toolkit
For details, see "Uninstallation" in the CANN Software Installation Guide.
Parent topic: MindStudio Uninstallation