Questions tagged [software-collections]

For questions using or packaging software collections (SCLs).

Software Collections (or SCL) is a packaging technology to install multiple versions of software on the same system.

There are many different software collections available for download, primarily for Enterprise Linux and Fedora systems.

This tag is for issues relating to commonly available software collections, the base tooling (e.g. scl-utils), and development of new software collections.

48 questions
29
votes
6 answers

scl enable python27 bash

I've hit a snag with a shell script intended to run every 30 minutes in cron on a Redhat 6 server. The shell script is basically just a command to run a python script. The native version python on the server is 2.6.6 but the python version required…
gerion
  • 463
  • 1
  • 4
  • 8
22
votes
3 answers

Permanently enable RHEL scl

Is there a way to permanently enable custom Software Collections for RedHat? I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time.
paweloque
  • 18,466
  • 26
  • 80
  • 136
20
votes
3 answers

How to install GCC/G++ 8 on CentOS

I'm used to install packages on Debian/Ubuntu distributions, but now I need to install gcc and g++ version 8.*. There is only version 4.* in CentOS repositories. What's the correct way to install them manually?
Eenoku
  • 2,741
  • 4
  • 32
  • 64
12
votes
1 answer

(How) Can I use the new C++ 11 ABI with devtoolset-7 on Centos/RHEL?

My goal is to use gcc 7.2 (and clang 6) on Centos 7 to build executables compatible with Centos 7 targets without devtoolset installed but * using the newer C++ ABI *. The newer ABI fixed a couple of deficiencies in the lib that weren't able to be…
Paul
  • 161
  • 1
  • 6
10
votes
3 answers

How to force httpd to use rh-php56 from red hat software collections

Anyone have any luck with making httpd use rh-php56 from the Red Hat Software Collections? I see documentation on how to enable the newer version of php at the CLI...but not for making Apache use the new version of PHP installed via the rh-php56…
Mike Broyles
  • 119
  • 1
  • 1
  • 8
8
votes
1 answer

devtoolset-6 is using system libstdc++ and can't link

I have a 3rd party library compiled with gcc6 that I need to link against. So I've un-installed the standard GCC packages and installed the Software Collections devtoolset-6 package (Centos 7.4) $ g++ -v Using built-in…
Greg
  • 393
  • 3
  • 7
5
votes
2 answers

How do I enable python35 from Software Collections at login?

I followed the Software Collections Quick Start and I now have Python 3.5 installed. How can I make it always enabled in my ~/.bashrc, so that I do not have to enable it manually with scl enable rh-python35 bash?
user7610
  • 25,267
  • 15
  • 124
  • 150
4
votes
1 answer

scl enable rh-mariadb102 bash doesn't work with Ansible playbook

I'm new to stackoverflow... It seems to be a pretty good place to share knowledge and to find solution with a very interesting community. I've a problem with Ansble and the "scl" "mysql_install_dir" commands. When I execute manually "scl enable…
CoutCout76
  • 41
  • 1
  • 3
2
votes
1 answer

pyexpat.cpython-35m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt

I am seeing same following error when I try to run the following: pip virtualenv Looks like Python3.5 is installed using softwarecollections. I dont have root access and using service account. bash-4.2$ scl --list rh-python35 bash-4.2$ scl --list…
2
votes
3 answers

How can I make Python3.6, Red Hat Software Collection, persist after a reboot/logout/login?

I am trying to enable rh-python36 software collection after reboot So I can avoid calling "scl enable" all the time. After unzipping and installing the package: yum install -y tmp/rpms/* I created a new file "python36.sh" under /etc/profile.d…
zegoat7
  • 457
  • 1
  • 6
  • 14
2
votes
3 answers

Install Obsolete Devtoolset Collection for CentOS

At present time Devtoolset-5 (and earlier) cannot be istalled from Software Collection Repository (centos-release-scl) using yum (only Devtoolset-6 and 7 are available). Nevertheless, this collection can be downloaded as a list of rpm-packages. Is…
2
votes
1 answer

How to use user's pipenv via systemd? Python is installed via SCL

On a CentOS 7 server, I have installed Python 3.6 via SCL. ( https://www.softwarecollections.org/en/scls/rhscl/rh-python36/) I have this line in .bashrc to enable SCL's Python 3.6 source scl_source enable rh-python36 I have installed pipenv: pip…
Sudheer
  • 710
  • 6
  • 25
1
vote
3 answers

How to use scl command as a script shebang?

If I want to run a specific command (with arguments) under Software Collections, I can use this command: scl enable python27 "ls /tmp" However, if I try to make a shell script that has a similar command as its shebang line, I get errors: $ cat…
John Gordon
  • 29,573
  • 7
  • 33
  • 58
1
vote
1 answer

boost log library missing in CentOS 7 Base Repo

I'm learning to use boost log and i'm using centOs7 environment. I installed boost-devel package on CentOS7 and yum downloaded it from CentOS7 Base Repo. After installation i inspected and found boost log headers and .so are missing. When exploring…
d3v-sci
  • 173
  • 12
1
vote
0 answers

PHP 7.2 not being updated from vulnerable 7.2.10?

The version of PHP 7.2 in the current Software Collection (version 3.2) is 7.2.10, which has a number of security vulnerabilities. From the release notes for upcoming version 3.3, it appears that SCL 3.3 will keep 7.2.10 unchanged. I don't…
1
2 3 4