Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save elvis501/c89240a662c4713e8a1daa7179bfc7ff to your computer and use it in GitHub Desktop.

Select an option

Save elvis501/c89240a662c4713e8a1daa7179bfc7ff to your computer and use it in GitHub Desktop.
install gcc7 in centos
I did the following to install devtoolset-7:
yum install centos-release-scl
yum install devtoolset-7-gcc-c++
Every time I want gcc to default to using GCC 7, I run the following:
scl enable devtoolset-7 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment