Forked from liuziangexit/gist:888c818a66409e9bbe835002f3c785c7
Created
July 1, 2020 19:05
-
-
Save elvis501/c89240a662c4713e8a1daa7179bfc7ff 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