Today I installed Ubuntu 20.04 (first time using Linux) and I'm having trouble with updating GCC to 11.2 (latest stable version). I checked another question and tried it but after updating it, it's still showing this:
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Also, I want to uninstall all the older versions and only keep 11.2. Is this possible? Or even recommended?