Questions tagged [scl]

Software Collections (SCL) are used on Red Hat and CentOS to provide updated versions of common programs. The package allows both a new version and original program to exist side-by-side.

Software Collections (SCL) are used on Red Hat Enterprise Linux and CentOS to provide updated versions of common programs. The package allows both a new version and original program to exist side-by-side.

There are two types of SCLs. The first is referred to as a 'SCL', and is supplied by Red Hat. The second is referred to as a 'SCLo', and is supplied by a community of supporters (and not by Red Hat).

21 questions
48
votes
5 answers

How to permanently enable newer version of software installed from SCL repo?

On CentOS 6.4: I installed a newer version of devtoolset (1.1) and was wondering how I would go about permanently setting these to be default. Right now, when I ssh into my server running CentOS 6, I have to run this command scl enable…
SelfTaught
  • 795
  • 1
  • 7
  • 12
3
votes
0 answers

How do you install Django when there is a problem with scl?

scl is installed on RedHat 6. The man pages for scl work. I want to install Django. I believe that a prerequisite is to install SCL for Python. $scl -l returns nothing. I believe that this is a problem. But I don't know what I did…
Kiran
  • 313
  • 3
  • 11
  • 21
3
votes
1 answer

RH software collections enable for command run with sudo

We are using RH software collections for python34 and have the following in /etc/profile.d/scl_enable_python34.sh source scl_source enable rh-python34 This works perfectly for interactive users. But is there a way to enable the python34 software…
batfastad
  • 1,035
  • 2
  • 13
  • 24
2
votes
2 answers

Where is php.ini when SCL PHP is in effect?

We enabled SCL on CentOS 7 and installed Python 2.7, Apache 2.4 and PHP 7.1. It looks like the updated programs are being used. However, we seem to have a problem with PHP hardening. First, here is the php.ini we can find: # find /opt/rh -name…
user56041
2
votes
1 answer

Python 2.7 install on Scientific Linux 6 via SCL devtoolset

I understand Scientific Linux 6 uses Python 2.6.6 for several critical utils, including yum, according to this article How to install Python 27 on Centos 6 The simplest and hopefully cleanest install I found is based on Red Hat Software Collection…
slkuser
  • 23
  • 1
  • 4
2
votes
1 answer

One liner to enable some SCLs and a python virtual environment?

I'm writing a python 3.4 app on a centos box. Normally, when I have to reset my tmux session, such as after a reboot I do the following: [zippy@localhost ~]$ scl enable rh-python34 httpd24 bash [zippy@localhost ~]$ source…
Justin Dearing
  • 1,391
  • 3
  • 13
  • 26
1
vote
0 answers

How to enable Python automatically after restarting my Centos 6.5 machine?

I am using Software Collections Repository (SCL) to install Python 3 package "rh-python36" on Centos 6 machine. I am adding this script to .sh file located in the /etc/profile.d directory: #!/bin/bash source /opt/rh/rh-python36/enable export…
Aminovic
  • 177
  • 2
  • 11
1
vote
0 answers

sudo does not recognize new group

Why won't sudo recognize my group, in a fresh login after using groupadd? Our DigitalOcean CentOS comes with a borked sudo implementation. It's the following script, note well line #2: $ nl $(which sudo) 1 #! /bin/sh 2 # TODO: parse &…
James K. Lowden
  • 2,052
  • 13
  • 15
1
vote
1 answer

gcc build error : cannot find -lssl

Hey all, i am trying to build a project called RamCloud on CentOS Linux release 7.4.1708 this project specifically requires gcc 4.9 and with my centos i only had gcc 4.8 so i had to : completely remove gcc4.8 from my system sudo yum…
Mheni
  • 121
  • 1
  • 5
1
vote
0 answers

List packages in devtoolset

Using Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux. I mean to get all packages in a devtoolset (or any other scl, actually). I tried (1) $ scl -l devtoolset-6 which gives an empty output. A.…
1
vote
1 answer

How to update Apache and PHP using SCL?

I'm testing an upgrade of PHP using SCLs. The testing is happening on a local VM so its OK to break things as we develop a procedure. Following The SCL Repositories I was able to update Python to 2.7.13 and activate it through profiles.d/. I'm now…
user56041
1
vote
2 answers

Is there a free way to activate SCL RHEL 7

I wish to use the software collection of RHEL 7, but it seems theres is not free way to do that. Anyone knows ??
aurelien
  • 2,057
  • 1
  • 11
  • 24
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…
0
votes
1 answer

Enable GNU Fortran 7.xy on CentOS 7.9: scl command not found

I'm trying to enable GNU Fortran ver 7.xy on a CentOS 7.9 image in a Singularity container. According to various sources on the internet I need to install the following packages with yum: yum install centos-release-scl scl-utils-build…
mabalenk
  • 511
  • 2
  • 5
  • 12
0
votes
1 answer

Running Drupal's drush cron jobs with a newer PHP version from Software Collections

How do you run Drupal's drush cron jobs when your server has a newer PHP version installed from Software Collections? The server is running Scientific Linux 7, which comes with PHP 5.4, but we need, and have installed, PHP 7.1 using the Software…
dave559
  • 349
  • 5
  • 19
1
2