How can we install devtoolset-4.0 on CentOS 6.7
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I tried to install devtoolset-4.0 to use g++ version 5.x via
sudo yum install devtoolset-4
However, I got No package devtoolset-4 available.
Is there any way to get to that?
centos gcc g++
add a comment |Â
up vote
2
down vote
favorite
I tried to install devtoolset-4.0 to use g++ version 5.x via
sudo yum install devtoolset-4
However, I got No package devtoolset-4 available.
Is there any way to get to that?
centos gcc g++
2
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to installdevtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather thandevtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).
â Mark Plotnick
Mar 22 '17 at 15:43
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I tried to install devtoolset-4.0 to use g++ version 5.x via
sudo yum install devtoolset-4
However, I got No package devtoolset-4 available.
Is there any way to get to that?
centos gcc g++
I tried to install devtoolset-4.0 to use g++ version 5.x via
sudo yum install devtoolset-4
However, I got No package devtoolset-4 available.
Is there any way to get to that?
centos gcc g++
centos gcc g++
asked Mar 22 '17 at 14:23
mallea
11113
11113
2
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to installdevtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather thandevtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).
â Mark Plotnick
Mar 22 '17 at 15:43
add a comment |Â
2
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to installdevtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather thandevtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).
â Mark Plotnick
Mar 22 '17 at 15:43
2
2
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install
devtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather than devtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).â Mark Plotnick
Mar 22 '17 at 15:43
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install
devtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather than devtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).â Mark Plotnick
Mar 22 '17 at 15:43
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
5
down vote
Install it by:
sudo yum install centos-release-scl
sudo yum install devtoolset-4
The first command installs and enables Software Collections Repository
on your CentOS machine. That repository provides the devtoolset
package.
add a comment |Â
up vote
0
down vote
This does not work on CentOS 6.10 anymore.
FYI.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
Install it by:
sudo yum install centos-release-scl
sudo yum install devtoolset-4
The first command installs and enables Software Collections Repository
on your CentOS machine. That repository provides the devtoolset
package.
add a comment |Â
up vote
5
down vote
Install it by:
sudo yum install centos-release-scl
sudo yum install devtoolset-4
The first command installs and enables Software Collections Repository
on your CentOS machine. That repository provides the devtoolset
package.
add a comment |Â
up vote
5
down vote
up vote
5
down vote
Install it by:
sudo yum install centos-release-scl
sudo yum install devtoolset-4
The first command installs and enables Software Collections Repository
on your CentOS machine. That repository provides the devtoolset
package.
Install it by:
sudo yum install centos-release-scl
sudo yum install devtoolset-4
The first command installs and enables Software Collections Repository
on your CentOS machine. That repository provides the devtoolset
package.
answered Mar 22 '17 at 14:42
13dimitar
978213
978213
add a comment |Â
add a comment |Â
up vote
0
down vote
This does not work on CentOS 6.10 anymore.
FYI.
add a comment |Â
up vote
0
down vote
This does not work on CentOS 6.10 anymore.
FYI.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
This does not work on CentOS 6.10 anymore.
FYI.
This does not work on CentOS 6.10 anymore.
FYI.
answered 3 mins ago
Steve Clement
112
112
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f353090%2fhow-can-we-install-devtoolset-4-0-on-centos-6-7%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install
devtoolset-4-toolchain
(22 packages including binutils and gcc-c++) rather thandevtoolset-4
(278 packages including the toolchain plus eclipse and many other java tools).â Mark Plotnick
Mar 22 '17 at 15:43