Custom vault based scl (and rh) yum repositories.
This repository is not associated with the sclorg/centos-release-scl repository nor the Software Collections organisation.
It is a third-party attempt at a 1-liner to add after yum install -y centos-release-scl to then
have yum install -y devtoolset-3 (and more) install correctly since the deprecation of older sclo packages.
See also:
- Issue for official centos-release-scl
- vfx-platform-discuss Google Groups discussion
devtoolset-6was dropped in CentoOS 7.7.1908
-
Provide yum repositories for all
http://vault.centos.org/7.*/sclo/$basearch/All disabled by default
- 7.1.1503
- 7.2.1511
- 7.3.1611
- 7.4.1708
- 7.5.1804
- 7.6.1810
-
Match naming convention as found from
CentOS-Vault.repofromcentos-release -
Repository/naming will not clash with one from
centos-release-scl*
Install centos-release-scl first, then run activate.sh from master branch.
yum install -y centos-release-scl
curl -sSL https://raw.githubusercontent.com/wwfxuk/centos-vault-scl/master/activate.sh | bashThen you can install old, archived packages e.g. devtoolset-3
# Should not encounter 404 http errors for missing rpms
yum install -y devtoolset-3The activate.sh should be run with enough/root permissions to run the following:
-
yum installany dependencies needed (notably for CentOS 7.1):tar,yum-config-manager- If any of those are installed,
curlis will also be updated to the latest version so it can also pull/download from GitHub (more modern NSS).
-
Extract
*.repofiles from this repository into/etc/yum.repos.d/ -
Have
yum-config-managerenable the relevantC7.x.x-centos-sclo-*yum repositories depending on your current CentOS 7 release. -
If enabling was successful, the original
centos-sclo-*repositories will then be disabled soyum installwill fetch packages from our version specific archive rather than from the latest mirrors.
You will still have to manually enable the testing, source and debuginfo
repositories if you wish to use packages from those repositories.
They are named C<VERSION>-centos-sclo-<VARIANT>-{testing,source,debuginfo},
e.g. using yum-config-manager
yum-config-manager --enable C7.3.1611-centos-sclo-sclo-debuginfo- Modify the
CentOS-Vault-SCLo-scl.template. - Run
bash template-to-repos.shto generate the*.repofiles from the template. - Commit those generated
*.repofiles, replacing existing/old ones. - Push as a new branch, submit a pull request
- Hopefully the CI will start judge whether you are worthy
There may be cases where you might need to change the CI tests e.g. if you are
adding a new feature. The main CI workflow files is located in
.github/workflows/test-repos.yml.