Querying the Software Package Version
Perform the following operations to query the version information about the CANN package (such as Toolkit):
- Log in to the installation environment as the installation user of the software package.
- 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.)
1cd ${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).
- Run the following command to query the version:
1cat ascend_toolkit_install.info
Parent topic: Appendix B: Common Operations