Installing the Toolkit (Development Kit)

Software Download

This section describes the download paths and package names of related software. The software is classified into the commercial edition and community edition. The functions of the two editions are the same. The only difference is that the community edition cannot be used for commercial purposes. If you want to use the software for commercial purposes, download the commercial edition and apply for related permissions. The community edition can be directly downloaded.

Table 1 Software download (community edition)

Software Type

Package Name and Download Link

Toolkit (development kit)

Click here to download the Ascend-cann-toolkit_{version}_linux-{arch}.run package.

Table 2 Software download (commercial edition)

Software Type

Package Name and Download Link

Toolkit (development kit)

Click here to download the Ascend-cann-toolkit_{version}_linux-{arch}.run package.

{version} indicates the software package version, and {arch} indicates the architecture. Replace them with the actual version and architecture.

Installation Procedure

  1. Log in to the server as the root user.
  2. Upload the Toolkit software package to any path (for example, /home) in the installation environment.
  3. Add the execute permission on the software package. {version} indicates the software package version. Change it based on your requirements.

    chmod +x Ascend-cann-toolkit_{version}_linux-aarch64.run

  4. Install the software.

    ./Ascend-cann-toolkit_{version}_linux-aarch64.run --install

    If the following information is displayed, the software is successfully installed:
    [INFO] xxx install success

    xxx indicates the name of the actual software package to be installed.

  5. Set environment variables. You can modify the ~/.bashrc file to set permanent environment variables. The procedure is as follows:
    1. Run the vi ~/.bashrc command in any directory as the running user to open the .bashrc file and append the following line to the file.
      source /usr/local/Ascend/ascend-toolkit/set_env.sh 
    2. Run the :wq! command to save the file and exit.
    3. Run the source ~/.bashrc command for the modification to take effect immediately.

    After the Toolkit is installed, you can start to develop or run services.