GCC installation issue encountered. Please check your setup.
GCC installation issue encountered. Please check your setup.
Sorry, I made a mistake—you should use ".deb". For 18.04 it's available at: https://packages.ubuntu.com/bionic/gcc (select amd64 and security.ubuntu.com/ubuntu). The site also shows the required dependencies for gcc that you must install first.
Usually programs require external libraries, which must be installed first before you can add them. This makes manual installation impractical since it involves downloading, setting up, and ordering dependencies carefully.