Skip to content

Instantly share code, notes, and snippets.


Mia Martin miamartin8

  • Greater Boston Area
View GitHub Profile
jdhao /
Last active Jan 25, 2022
The script will install GCC 5.4.0 on your CentOS 7 system, make sure you have root right. See for more details.
echo "Downloading gcc source files..."
curl -O
echo "extracting files..."
tar xvfj gcc-5.4.0.tar.bz2
echo "Installing dependencies..."
yum -y install gmp-devel mpfr-devel libmpc-devel
echo "Configure and install..."