Navigation Menu

As I discussed in an article entitled Red Enterprise Linux Release Speed, developers sometimes have a problem with how slow Red Hat’s Enterprise Linux releases new versions of software. Well, the good news is, Software Collections are here. Software Collections provide Red Hat Enterprise Linux users with newer versions of programming languages and server daemons like python, perl, ruby, php, mysql, mariadb, etc.

This is a quick start guide to help you get comfortable with both programming languages and server daemons provided as software collections.


First, add the right channel to your system


To discover what packages are available, do a quick list, and grep for rhscl.


Now, let’s install a few interesting packages


Basic Usage & Testing

To test python 3.3, let’s fire up Idle, the built in editor


It’s also easy to enable a software collection, for the duration of a shell session


Enabling Servers

Servers provided by Software Collections are configured and used similar to normal system daemons. One important thing to note, is that with Software Collections, multiple servers that require the same port may be installed side by side, so care must be taken to determine which one is started by default. Historically, this is something that systems administrators did not have to frequently worry about.

Before starting MariaDB, make sure that the system version of MySQL 5.1 is not installed or disabled.


Now, start MariaDB. As things start, you will notice that everything happens in /opt. All of the MariaDB system tables are created in /opt and do not interfere with the system version of mysqld.


A few other important thing to not are; the logs and socket are placed in the system directories, so a standard MySQL client can and will connect by default.


Also, notice that the normal MySQL port is used and looks like a standard MySQL server daemon.



Now, we are going to put Python 2.7 and MariaDb in action using SQLAlchemy. Enable both at the same time.


Notice that the binary is in /opt/rh. Also, notice that the version is correct.



A little bit of SQL Alchemy, and you can create a new database.


Finally, check that the database was created.


Post a Reply

Your email address will not be published.