The following packages were automatically installed and are no longer required: I have seen other questions on stack overflow, but they are either for older versions which their solution doesn't apply to me, or some newer solutions such as the one that suggests running : sudo apt-get install gcc-7 g++-7ĭoesn't work as they report I have a newer version installed : Reading package lists. Ubuntu got updated and now my gcc is 7.5.0. I'm trying to install gcc 7.3.0 on ubuntu 18.04.