Skip to content

Instantly share code, notes, and snippets.

@zuo1188
Created April 6, 2017 03:01
Show Gist options
  • Save zuo1188/43a3a1d9399fec487f87b0213af3de8a to your computer and use it in GitHub Desktop.
Save zuo1188/43a3a1d9399fec487f87b0213af3de8a to your computer and use it in GitHub Desktop.
update gcc to 5.x on centos
sudo yum install centos-release-scl
sudo yum install devtoolset-4-gcc*
scl enable devtoolset-4 bash
which gcc
gcc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment