Querying the Software Package Version

Perform the following operations to query the version information about the CANN package (such as Toolkit):

  1. Log in to the installation environment as the installation user of the software package.
  2. Go to the directory where the software package installation information file is stored. (The following uses the Ascend-CANN-Toolkit software package as an example.)
    1
    cd ${HOME}/Ascend/ascend-toolkit/latest/<arch>-linux
    

    In the preceding command, ${HOME} /Ascend indicates the default installation path of a non-root user. Replace it with the actual installation path. {arch} indicates the CPU architecture (aarch64 or x86_64).

  3. Run the following command to query the version:
    1
    cat ascend_toolkit_install.info