Checking If GCC Compiler is installed?
This article will cover you how to check if the gcc compiler or g++ compiler are installed on my ubuntu/CentOS/RHEL Linux system.
Checking If GCC Compiler Is Installed
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 .
Check the Location of GNU or GCC Compiler
Type the following command to check the location of gcc compiler in your system, type:
$ which g++ $ which gcc $which make
Which will output to
root@minit-in:~$ which gcc /usr/bin/gcc root@minit-in:~$ which g++ /usr/bin/g++ root@minit-in:~$ which make /usr/bin/makegcc,linux,centos,debian,Ubuntu