How can I install old software collections packages on CentOS 6?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:
FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5
Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.
http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm
But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.
NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.
centos package-management scl
add a comment |Â
up vote
0
down vote
favorite
I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:
FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5
Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.
http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm
But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.
NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.
centos package-management scl
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:
FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5
Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.
http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm
But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.
NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.
centos package-management scl
I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:
FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5
Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.
http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm
But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.
NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.
centos package-management scl
centos package-management scl
edited Aug 8 at 12:44
Jeff Schaller
32.4k849110
32.4k849110
asked Aug 8 at 12:33
Mohan
1013
1013
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f461277%2fhow-can-i-install-old-software-collections-packages-on-centos-6%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