Contents
The gcc package is installed by default on all Ubuntu desktop flavors.
Where is GCC installed on Ubuntu?
You need to use the which command to locate c compiler binary called gcc. Usually, it is installed in /usr/bin directory.
Is GCC installed on Linux?
For most people the easiest way to install GCC is to install a package made for your operating system. The GCC project does not provide pre-built binaries of GCC, only source code, but all GNU/Linux distributions include packages for GCC. The BSD-based systems include GCC in their ports collections.