2.3.2. Ubuntu GCCΒΆ

The GCC compiler is usually used on Linux OS. To install it on Ubuntu run:

> sudo apt-get install -y gcc

Check the location and version

> which gcc
/usr/bin/gcc

> gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.