In this guide, we will walk you through the steps of installing GCC on a server running Debian 9 using two different methods: using the APT package manager (Advanced Package Tool), and installation from source.
GCC, also known as the GNU Compiler Collection, is developed by Richard Stallman and was released by the Free Software Foundation. GCC is a very useful and widely-used collection of programming compilers, such as C, C++, Objective-C, Fortran, Objective-C++, Java, Go, and Ada. GCC is an official compiler of the GNU operating system, but it is also a standard compiler on many Unix operating systems such as Linux. Let’s get started with the installation.