Created
June 13, 2018 14:56
-
-
Save liuziangexit/888c818a66409e9bbe835002f3c785c7 to your computer and use it in GitHub Desktop.
install gcc7 in centos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
it works in my case. thanks!