- 3,715,959 Users
- 2,242,917 Discussions
- 7,845,703 Comments
Forum Stats
Discussions
Categories
- Industry Applications
- 3.2K Intelligent Advisor
- Insurance
- 1.1K On-Premises Infrastructure
- 375 Analytics Software
- 35 Application Development Software
- 1.8K Cloud Platform
- 700.5K Database Software
- 17.4K Enterprise Manager
- 7 Hardware
- 175 Infrastructure Software
- 97 Integration
- 53 Security Software
Migrating from CentOS 7 to OL7: Software Collections ?

Hi,
I'm currently migrating my servers running CentOS 7 to OL7.
I'm having a little trouble with the Software Collections. On most of my servers, recent versions of PHP are provided by the SCLO repositories. For instance, PHP 7.3 comes in the form of a series of packages prefixed rh-php73-* and sclo-php73-*. The repositories are available in RPM form.
$ rpm -qa | grep release-scl
centos-release-scl-2-3.el7.centos.noarch
centos-release-scl-rh-2-3.el7.centos.noarch
Currently I have a bit more than 100 PHP 7.3 related packages.
$ yum search php73 | wc -l
102
I just setup a test server running OL7, with the Oracle Software Collections repository.
I can find a bunch of PHP 7.3 related packages which seem to follow the same naming scheme so far. Unfortunately there's only about half of what CentOS has to offer:
$ yum search php73 | wc -l
54
Some stuff which I need for setting up my applications seems to be missing. For example, the sclo-php73-php-pecl-imagick package needed by Roundcube is there in CentOS, but missing in Oracle Linux.
I have a vague idea for a solution. Tell me if this is wrong.
- Install Yum Priorities
- Setup official repositories with a priority of 1
- Setup Oracle Software collections with a priority of 1
- Setup Red Hat / CentOS Software collections with a priority of 10
Any suggestions ?
Besides this problem that bugs me, I want to say I'm very happy with Oracle Linux so far.
Cheers from the sunny South of France,
Niki
Best Answer
-
Oracle knows they have some catching up to do to rebuilding all the upstream CentOS-packages. EPEL7 is now 97% complete but EPEL8 is like 50%. They are catching up but all the extra channels, like SCL, have a lower priority I guess.
You could just use the CentOS SCL-repositories, they should work just fine, the same as EPEL from upstream. All the base-stuff is there but the extra's are not or incomplete, like you described.
Sorry about the mixup from my part, I need to read a bit closer :-)
Answers
-
You could use software collections on OL7 too: http://yum.oracle.com/repo/OracleLinux/OL7/SoftwareCollections/x86_64/index.html
But also use rebuilt php 7.3 or php 7.4: http://yum.oracle.com/oracle-linux-php.html
We are using the php 7.4 from the OL7-repositories. Only catch with this one (at the moment I think) is that the php-7.4-packages are having a dependency on package oniguruma 5.9. Upstream EPEL has been upgraded to oniguruma 6.8 but that version is not yet available in the EPEL7-tree of Oracle. So you may have to downgrade that one when using php 7.4 from Oracle.
-
Some stuff I'm running on CentOS is closely related to the CentOS Software Collections. In my initial post I already stated that I am indeed using the Oracle Software Collections. The more so since some stuff (for example Icinga Web 2) depends on it.
If I can restate my question more simply : when using the Oracle Software Collections, what is the best way to get the handful of packages that are not provided by this repository but can be found in the CentOS Software Collections for example?
Maybe just make a list and ask for them to be included officially?
-
Oracle knows they have some catching up to do to rebuilding all the upstream CentOS-packages. EPEL7 is now 97% complete but EPEL8 is like 50%. They are catching up but all the extra channels, like SCL, have a lower priority I guess.
You could just use the CentOS SCL-repositories, they should work just fine, the same as EPEL from upstream. All the base-stuff is there but the extra's are not or incomplete, like you described.
Sorry about the mixup from my part, I need to read a bit closer :-)
-
I just replaced Oracle Software Collections by CentOS Software collections, and everything works perfectly.