How to check whether gcc is installed on Linux
Execute the gcc -v command. If the gcc compiler is not installed on the Linux system, it will prompt "Command not found".
1. If the gcc compiler is installed on the system, this command will display which version of the gcc compiler is currently installed. As follows:
2. If the command cannot be found, it means it is not installed, as follows:
More For related tutorials, please pay attention to PHP中文网!
The above is the detailed content of How to check if gcc is installed on Linux. For more information, please follow other related articles on the PHP Chinese website!