After the CANN package is installed, log in to the environment as the CANN operating user and run source ${install_path}/set_env.sh to set the environment variable. ${install_path} indicates the installation directory of the CANN package, for example, /usr/local/Ascend/cann.
For the development of Ascend C operators, the driver and firmware are not necessarily required. For a non-Ascend device, you can use the CPU simulation environment to develop and test operators, and then use the Ascend device to perform accelerated computation. For details about how to install CANN on a non-Ascend device, see "Appendix B: Common Operations > Installing CANN on a Non-Ascend Device" in CANN Software Installation Guide.