Created
June 20, 2020 03:09
-
-
Save kevinbin/e6ff4cb43024be43b2326cfd784202d8 to your computer and use it in GitHub Desktop.
centos 7 gcc4.8 upgrade 5.0
This file contains 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
cat <<EOF > /etc/yum.repos.d/fedora.repo | |
[warning:fedora] | |
name=fedora | |
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-23&arch=$basearch | |
enabled=1 | |
EOF | |
yum -y update gcc gcc-c++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment