MindStudio Installation
- Only one installation of MindStudio is permitted within a single directory on a server. Before installing MindStudio, ensure that any previous installation has been uninstalled. For details, see Uninstallation (Linux).
- Log in to the OS as the MindStudio installation user. It is not supported to switch to the MindStudio installation user after login as a different user.
Prerequisites
- Software Package Preparation to Dependency Installation have been completed.
- You have installed the Ascend-CANN-Toolkit by following instructions in the CANN Software Installation Guide.
Procedure
- Upload the software package to the target environment as the MindStudio installation user.
- Decompress the MindStudio package.
Run the following command as the MindStudio installation user to decompress the MindStudio_{version}_linux_{arch}.tar.gz package:
tar -zxvf MindStudio_{version}_linux_{arch}.tar.gzFor details about the content extracted from the package, see Table 1.
- As the MindStudio installation user, go to the MindStudio/bin directory generated after package decompression and start MindStudio.
cd MindStudio/bin ./MindStudio.sh
- If the error message "Failed to initialize graphics environment", "Unable to detect graphics environment", or "Can't connect to X11 window server using 'localhost:xxx' as the value of the DISPLAY variable" is displayed when MindStudio is started, rectify the fault by referring to What Do I Do If the GUI Cannot Be Displayed When MindStudio Is Started?.
- If the error message "WARNING: Install the haveged service by referring to the installation guide." is displayed when MindStudio is started, rectify the fault by referring to What Do I Do If I Get Error "WARNING: Install the haveged service by referring to the installation guide" When Starting MindStudio?.
- If the system displays a message indicating that the libXext.so.6 file cannot be found when MindStudio is started on EulerOS 2.10, rectify the fault by referring to What Do I Do If I Get Error "java.lang.UnsatisfiedLinkError: /home/username/MindStudio/jbr/lib/libawt_xawt.so" When Starting MindStudio?.
- If the system displays a message indicating that no sufficient space can be reserved for the object heap when MindStudio is started, rectify the fault by referring to What Do I Do If MindStudio Cannot Be Started When the Set Memory Is too Large?.
- To specify the MindStudio operating environment, create the mindstudio.jdk file in the $HOME/.config/Huawei/MindStudioMS-{version} directory and write the .jbr or .jdk installation directory of the user into the file.Figure 1 mindstudio.jdk (example)

Parent topic: MindStudio Installation and Configuration