After the CANN software is installed, log in to the environment as the CANN operating user and run the source ${INSTALL_DIR}/set_env.sh command to set environment variables. Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /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.