0

This question already has an answer here:

How do I install GCC 8 on Ubuntu LTS 16.04.3?

marked as duplicate by Melebius, karel, Sergiy Kolodyazhnyy, Kevin Bowen, pomsky Aug 15 '18 at 21:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.