Install Obsolete Devtoolset Collection for CentOS

杀马特。学长 韩版系。学妹 提交于 2019-12-06 07:21:19

You can install the obsolete devtoolset-3 in this way:

sudo yum --obsolete install devtoolset-3

There was no DTS 5 release. It was skipped to align the DTS version with the GCC major release, once GCC switched to a yearly increasing version number.

DTS versions 3 and 4 are available from the centos-release-scl repository.

While Devtoolset-3 and 4 are located on the site here: http://mirror.centos.org/centos/6/sclo/x86_64/rh, yum will not be able to find them as they were not included in the repodata on the site. These were probably excluded because they are EOL, and have dependency bugs (Bug 1410152). Try using the older Devtoolset-3 packages here, which do not have the dependency issues: https://copr.fedorainfracloud.org/coprs/rhscl/devtoolset-3/

If you really want the packages from the centos.org site, I went with wget to download all the RPMs, then recreated a local yum repo. However, you'll see the dependency issues and yum install devtoolset-3 will fail.

[user1@localhost ~]$ wget -r -p -e robots=off --directory-prefix="/mnt/local-devtoolset3-repo" --recursive --no-clobber --no-parent http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-3/ [user1@localhost ~]$ sudo yum install createrepo [user1@localhost ~]$ cd /mnt/local-devtoolset3-repo [user1@localhost ~]$ createrepo --database .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!