Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
gcc-6.1
Community Discussion
627
views ·
2
replies ·
To
floor
Go
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
Like 0
Favorite
View the author
All Replies
M***
[email protected]
deepin
2016-08-10 04:08
#1
Installation Successful
thank you very much
Reply
Like 0
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
Like 0
View the author
Please
sign
in first
New Thread
Popular Events
More
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