How Can I Tell Which Compiler I Have in Linux?
Contents

If you want to check if the GNU GCC Compilers are install on your system, you can try to check the version of GCC compiler on Linux, or you can use which command to locate gcc or g++ commands . Outputs: [email protected]:~$ gcc –version gcc (Ubuntu 5.4. 0-6ubuntu1~16.04.

How do I know which compiler is installed Linux?

Debian Linux Install GNU GCC Compiler and Development Environment. CentOS / RHEL 7: Install GCC (C and C++ Compiler) and Development Tools.
…
Command for Red Hat / RHEL / CentOS / Fedora Linux users.

Category List of Unix and Linux commands
Searching grep • whereis • which

How do I know what compiler I have?

Type “gcc –version” in command prompt to check whether C compiler is installed in your machine. Type “g++ –version” in command prompt to check whether C++ compiler is installed in your machine.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest