Install GCC compiler from source

This is a simple shell script written in bash to install GNU GCC compiler from official source code. This may be useful when you want the latest version of gcc which isn't available in binary form for your running Linux system.

How To:

  1. Download the official source code (in tar.bz2) from here. Choose the latest version.
  2. Put the gccinstall file into that folder where the tar.bz2 archive is.
  3. Give it execution permission and run it.
  4. It will ask for version number, give it. If there is no other file starting with gcc in that folder then simply hitting enter without giving version number will do too.


If you are a developer, you can consider contributing to this project by forking this repository and making changes for better and do a pull request, or sharing ideas and suggestions or finding bugs, anything at all, what you think will be beneficial for this project.

If you aren't a developer, but still want to contribute, then you can support the contributing developers spiritually, by starring the repository and sharing ideas. If you want to be notified of the continuous development, you can add this in your watch list in Github.

If you see any problems or bugs please open an issue here