I am trying to install version 6.3.0 of gcc. I need that one in particular and I do not know how to do it. Since if I run "sudo apt-get install gcc" it updates me to the latest version (7.4) and it does not work for me.

Thank you!


For getting gcc version 6.3.0, first you've to download the source:

wget https://github.com/gcc-mirror/gcc/archive/gcc-6_3_0-release.tar.gz

Then extract it:

tar xvzf gcc-6_3_0-release.tar.gz

Then install it according to their official documentation.

  • Could you tell me what commands to enter to install it? I am new with this operating system and I do not understand the official documentation well... Thank you very much anyway
    – Juass93
    Nov 26 '18 at 18:56
  • 1
    Tarballs are recommended only for those who already have some skills. If, as a beginner, you insist upon specific versions and complex install methods, then you may find your learning curve to be frustrating. .tar.gz files usually include a README file and an INSTALL file. Read them.
    – user535733
    Nov 26 '18 at 19:10
  • I don't know how to do... I'm very desperate I can not install the compiler. Help me please
    – Juass93
    Nov 28 '18 at 16:12
  • Yeah, useless answer. Dec 4 '19 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.