I recently downloaded the official desktop version of 20.04.1 and installed it on a machine. I was surprised to find that there was no gcc command available! I installed it with apt but I always thought that every flavour of Linux came with gcc straight out of the box.
Has something recently changed in the release philosophy of Ubuntu?
41 Answer
The default version of gcc in Ubuntu 20.04 is gcc-9. Ubuntu 20.04 comes with gcc-9 installed by default which can be tested if it is installed by running apt policy gcc-9. gcc is the GNU C compiler, a fairly portable optimizing compiler for C. For more information type man gcc
gcc-10 is available in the default repositories of Ubuntu 20.04 and later. gcc-11 is available in Ubuntu 21.04 and later.
8