Upgrade Operations

  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. Grant the execute permission on the software package.

    chmod +x Ascend-mindx-toolbox_{version}_linux-{arch}.run

  4. Run the following command to check the consistency and integrity of the software package installation file:

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

  5. Upgrade the software.
    • Upgrade CANN V100R020C20 or V100R020C30 to the current version.
      • If the installation path is specified during the installation, run the following command:

        ./Ascend-mindx-toolbox_{version}_linux-{arch}.run --upgrade --install-path=<path>

        <path> indicates the specified software package installation directory.

      • If the installation path is not specified during the installation, run the following command:

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

    • When CANN 5.0.1 is upgraded to a later version, the original configuration information can be automatically imported from the installation configuration file, and no installation parameter needs to be entered. Run the following command:

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