Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save liuziangexit/888c818a66409e9bbe835002f3c785c7 to your computer and use it in GitHub Desktop.
Save liuziangexit/888c818a66409e9bbe835002f3c785c7 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
@joneswong
Copy link

it works in my case. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment