gcc-6.1
Tofloor
poster avatar
lahcen-maghrebi
deepin
2016-08-09 21:42
Author
Edited by lahcen-maghrebi at 2016-8-9 05:59

install the latest version of the gnu compiler 6.1

$ sudo apt-get install gcc-6
$ sudo apt-get install g++-6
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5

//Choose the version number in the table and then approved

$ sudo update-alternatives --config gcc



Reply Favorite View the author
All Replies
M***[email protected]
deepin
2016-08-10 04:08
#1
Installation Successful
thank you very much
Reply View the author
lahcen-maghrebi
deepin
2016-08-10 09:25
#2
https://bbs.deepin.org/post/31347
Installation Successful
thank you very much

not on duty my friend
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG