Software collection libraries are collections of RPMs for RPM distributions of linux. They generally install in /opt/__SCL_NAME__ With Software Collections, you can build and concurrently install multiple versions of the same software components on your system. Software Collections have no impact on the system versions of the packages installed by any of the conventional RPM package management utilities.
Questions tagged [scl]
15 questions
24
votes
3 answers
Permanently enable a SCL
Is there a way that I can permanently enable a SCL?
I've installed rh-php56, and I would like to make sure that it is loaded every time I ssh into my machine.
I am currently running CentOS 7.
Odyss3us
- 355
- 1
- 2
- 8
5
votes
2 answers
Make Yum recognize that httpd24-httpd (from SCL) provides the webserver virtual package
I've recently discovered software collections and understand how they allow me to install multiple versions of software by introducing a namespace for each collection. On Enterprise Linux, this is neat because I'll be able to keep the the regular…
pcronin
- 161
- 1
- 5
3
votes
2 answers
scl enable devtoolset-7 dosn't do anything
I have a relatively old server with CentOS 6 on it. The default gcc is 4.4.7 but after some googling, I found I can update this via devtoolset-7. I installed devtoolset-7 via root (i.e. sudo -i), and it installed okay.
Then I did scl enable…
masfenix
- 141
- 1
- 4
2
votes
0 answers
Wrong PID: supervisord program with a Software Collections Python
I have a Python server that must be executed by a Software Collections enabled environment. The supervisord config file looks something like this:
[program:xxx]
command=/usr/bin/scl enable rh-python35 -- /myenv/bin/python…
Caleb Hattingh
- 143
- 4
2
votes
2 answers
Install httpd24, php56 and php70 as SCL is not working with error "file not found"
Let's start saying that I have read this, this and this at Remi Blog since the question it related to those repositories. The blog entries is not helping me at all or I am missing something here but I am not sure what is. I will expose below which…
ReynierPM
- 700
- 5
- 14
- 28
1
vote
1 answer
How to make httpd24 (scl) use php >= 7.2 (RHEL 6.10)?
I am fairly new to working with RHEL and I was wondering if it was possible to have an httpd24 instanced installed as a software collection
httpd24.x86_64 1.1-18.el6 @rhel-x86_64-server-6-rhscl-1 work with a PHP version other than the one…
DamianJ
- 11
- 3
1
vote
1 answer
Package rh-php56 not available on CentOS 6 via centos-release-scl
Installing package rh-php56 in a CentOS 6 Docker image used to work using the methodology described here, but now I get the following error from yum:
No package rh-php56 available.
Querying yum, I see that other packages from Software Collections…
molecularbear
- 13
- 3
1
vote
1 answer
Enable SCL python27 so other RPMs can see it
Trying to create an RPM that uses Python 2.7 on a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system after enabling Python 2.7 (scl enable python27…
Andy Arismendi
- 1,168
- 4
- 16
- 27
1
vote
1 answer
Passing LD_PRELOAD to apache 2.4 for mod_wsgi
I can't adapt this question for mod_wsgi.
I have a python flask application that uses gdal. I start it up the following way:
LD_PRELOAD=/opt/gdal-custom/lib/libgdal.so.1 PYTHONPATH=../somemodules/ scl enable python27 "source…
Justin Dearing
- 1,017
- 10
- 33
0
votes
1 answer
SCL python on oel6 linux inside a docker container
I have a dockerfile building oel6 linux that uses the SCL python27.
For the docker build, using the SHELL command works to execute the commands correctly (i.e. if i were to insert a RUN python --version i get 2.7).
Creating a /root/.bashrc that…
Taekahn
- 111
- 4
0
votes
0 answers
systemd running process via scl, my process does not recieve SIGTERM
I have a systemd service called sitesdb-job-runner.service with the following config:
[Unit]
Description=SitesDB Background Job Runner
After=network.target mariadb.service
[Service]
Type=simple
Restart=always
User=sitesdb
ExecStart=/bin/scl enable…
Brian
- 240
- 3
- 16
0
votes
1 answer
RHSCL - php55-tidy extension not available via RHSCL
Alright, so my high level question essentially is that the php55 tidy extension is not available via RHSCL? I've already setup a new instance of httpd24 & php55 everything on this server is functional however one of our developers requires tidy.
I…
Mr.J
- 123
- 1
- 1
- 10
0
votes
1 answer
memcached on RedHat build PHP 5.6
I am trying to setup memcached on a server running RedHat PHP 5.6.25
I have successfully installed memcache but cannot find how to install memcached - is there a package available? If not how can I get it?
I have tried:
yum install…
bhttoan
- 620
- 3
- 15
- 26
0
votes
1 answer
Pip + virtualenv + Redhat SCL + proxy = not working
I am setting up a virtualenv based on Python 2.7 in Redhat Enterprise 6 (which ships with 2.6.x by default).
I installed the SCL 2.7 version of Python and then created the virtualenv:
$ scl enable python27 bash
$ cd /my/project
$ virtualenv -v…
user3758232
- 109
- 4
0
votes
1 answer
Building php v5.6.9 for use with Apache 2.4 on CentOS 6.6
I'm using Webtactic's PHP 5.6.9 src rpm to build a Software Collection version of PHP that I can use with Apache 2.4 on Centos 6.6.
Andy Thompson has already written all the SCL RPM macros into the spec file making this task quite straight…
Shaun McCullagh
- 1
- 1