Home  >  Article  >  Operation and Maintenance  >  How to check if gcc is installed on Linux

How to check if gcc is installed on Linux

angryTom
angryTomOriginal
2020-03-11 11:51:577006browse

How to check if gcc is installed on Linux

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:

How to check if gcc is installed on Linux

2. If the command cannot be found, it means it is not installed, as follows:

How to check if gcc is installed on Linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn