How to check if gcc is installed on Linux

angryTom
Release: 2020-03-11 11:51:57
Original
7178 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template