Using Perl 5.24 Red Hat Software Collection

Red Hat Software Collection (RHSCL) 2.3 brings new rh-perl524 collection.

It includes Perl 5.24.0, which provides a number of bug fixes and enhancements over the previously released rh-perl520 Software Collection. The details about the changes can be found in 5.22.0 perldelta and 5.24.0 perldelta. The new collection adds package rh-perl524-perl-App-cpanminus, which contains the cpanm utility for getting, extracting, building, and installing modules from the Comprehensive Perl Archive Network (CPAN) repository.

Continue reading “Using Perl 5.24 Red Hat Software Collection”

Installing Red Hat Developer Studio 10.2.0.GA through RPM

With the release of Red Hat JBoss Developer Studio 10.2, it is now possible to install Red Hat JBoss Developer Studio as an RPM. It is available as a tech preview. The purpose of this article is to describe the steps you should follow in order to install Red Hat JBoss Developer Studio.

Red Hat Software Collections

JBoss Developer Studio RPM relies on Red Hat Software Collections. You don’t need to install Red Hat Software Collections but you need to enable the Red Hat Software Collections repositories before you start the installation of the Red Hat JBoss Developer Studio.

Enabling the Red Hat Software Collections base repository

The identifier for the repository is rhel-server-rhscl-7-rpms on Red Hat Enterprise Linux Server and rhel-workstation-rhscl-7-rpms on Red Hat Enterprise Linux Workstation.

The command to enable the repository on Red Hat Enterprise Linux Server is:

sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms

The command to enable the repository on Red Hat Enterprise Linux Workstation is:

sudo subscription-manager repos --enable rhel-workstation-rhscl-7-rpms

For more information, please refer to the Red Hat Software Collections documentation.

JBoss Developer Studio repository

As this is a tech preview, you need to manually configure the JBoss Developer Studio repository.

Create a file /etc/yum.repos.d/rh-eclipse46-devstudio.repo with the following content:

[rh-eclipse46-devstudio-stable-10.x]
name=rh-eclipse46-devstudio-stable-10.x
baseurl=https://devstudio.redhat.com/static/10.0/stable/rpms/x86_64/
enabled=1
gpgcheck=1
upgrade_requirements_on_install=1
metadata_expire=24h

Red Hat developer signing key

As this is a tech preview, you need to accept the Red Hat developer signing key that has been used for producing the JBoss Developer Studio RPM.

Execute the following command:

sudo rpm --import "https://www.redhat.com/security/a5787476.txt"

Install Red Hat JBoss Developer Studio

You’re now ready to install Red Hat JBoss Developer Studio through RPM.

Enter the following command:

sudo yum install rh-eclipse46-devstudio

Answer ‘y’ when asked and after all required dependencies have been downloaded and installed, Red Hat JBoss Developer Studio is available on your system through the standard update channel !!!

You should see messages like the following:

rh eclipse46 devstudio.log

Launch Red Hat JBoss Developer Studio

From the system menu, mouse over the Programming menu, and the Red Hat Eclipse menu item will appear.

programming menu

Select this menu item and Red Hat JBoss Developer Studio user interface will appear then:

devstudio

Enjoy!

Jeff Maury 


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

Red Hat Software Collections 2.3 now beta

Today, Red Hat announced the beta availability of Red Hat Software Collections 2.3, Red Hat’s newest installment of open source web development tools, dynamic languages, and databases. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges developer agility and production stability by helping to accelerate the creation of modern applications that can then be more confidently deployed into production.

New additions to Red Hat Software Collections 2.3 Beta include:

Continue reading “Red Hat Software Collections 2.3 now beta”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Red Hat Software Collections: Why They’re Awesome, and How to Use Them

Red Hat Software Collections can make your life as a programmer or admin immensely easier.

Like death, taxes and zombies, dealing with different versions of software is something you just can’t avoid. It’s a nasty but necessary fact of life.

Traditionally, when developers and system admins grapple with this issue, they have to sacrifice something. If you want to run the latest and greatest version of a web app, it might not support users with outdated browsers. If you install the newest beta release of Python so you can test development code, it might break Python scripts written for older releases. If you have a system with multiple users, you might want a different version of Ruby over another. And so on.

Software Collections provide a solution to conundrums like these. They let you have your cake and eat it, too.

In other (more technical) words, Software Collections make it possible to have multiple versions of the same software on the same system. You use a simple tool to tell the system which version to activate as needed.

If that sounds awesome, it is. Keep reading for a more detailed explanation of how Software Collections work, and an overview of using them on your Red Hat system.

Continue reading “Red Hat Software Collections: Why They’re Awesome, and How to Use Them”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

PostgreSQL and MongoDB Software Collections: Three easy steps to get started

In the first part of my series on Software Collections (SCL), I gave general information and listed the three steps needed to get started with SCL for a number of languages. This post covers the steps for PostgreSQL and MongoDB.

Enable the SCL repository

The first step is to enable the SCL software repository if you haven’t already done so. As the root user run:

# subscription-manager repos --enable rhel-server-rhscl-7-rpms

Now onto installing the database software.

PostgreSQL

PostgreSQL is a powerful open source, object-relational, ACID compliant, database system. PostgreSQL runs on all major operating systems. Its key features are reliability, data integrity and correctness. Recently PostgreSQL 9.5 was released as part of Red Hat Software Collections (RHSCL) 2.2. A number of earlier releases (9.2 and 9.4) are also available from RHSCL.

To install the PostgreSQL 9.5 collection, run the following command as the root user:

# yum install rh-postgresql95

Now setup PostgreSQL and create the initial database. First use scl enable to add PostgreSQL to the root user’s environment, then run setup.

# scl enable rh-postgresql95 bash
# postgresql-setup --initdb

Now start the PostgreSQL server and enable it to start up when your system boots:

# systemctl start rh-postgresql95-postgresql
# systemctl enable rh-postgresql95-postgresql

To run psql as the postgres user, you need to use su as well as scl enable in order to setup that user’s environment.

# su - postgres -c 'scl enable rh-postgresql95 -- psql'

Continue reading “PostgreSQL and MongoDB Software Collections: Three easy steps to get started”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

Node.js 4.4, Python 3.5, and Ruby 2.3 Get Started guides on developers.redhat.com

On developers.redhat.com you can find short, focused guides to help you start developing with a number of Red Hat technologies. With the recent release of Red Hat Software Collections (RHSCL) 2.2, a number of Get Started guides have been updated to use the newest software collections, such as Node.js 4.4, Python 3.5, and Ruby 2.3.  These guides give you the steps you need to install the software and get to a simple “Hello, World” in a few minutes. The guides include a few additional package management examples to help you go farther.

Need a subscription that includes RHSCL?  Developers can get a no-cost Red Hat Enterprise Linux Developer Suite subscription for development purposes by registering and downloading through developers.redhat.com. We recommend you follow our Get Started Guide which covers downloading and installing Red Hat Enterprise Linux on a physical system or virtual machine (VM) using your choice of VirtualBox, VMware, Microsoft Hyper-V, or Linux KVM/Libvirt. For more information, see Frequently asked questions: no-cost Red Hat Enterprise Linux Developer Suite.

How to get Red Hat Software Collections

To try these using a traditional yum install on Red Hat Enterprise Linux 7, use these guides:

If you want to want to try building “Hello, World” in a container, a number of RHSCL packages are available as docker-formatted container images. Follow these guides on Red Hat Enterprise Linux 7:

If you are running Microsoft Windows, Apple Mac OS X, Fedora, or CentOS, you can use the Red Hat Container Development Kit, a pre-built Red Hat Enterprise Linux virtual machine with docker, the OpenShift Enterprise v3 platform as a service, or a number of other container tools.

Learn more at DevNation 2016

Next week at DevNation 2016, Red Hat’s Langdon White is giving two presentations:

  • Software Collections: Easy access to the cutting edge
  • CDK 2: Docker, OpenShift Enterprise, and Kubernetes on your desktop

 


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Installing MongoDB on Red Hat Enterprise Linux

 

MongoDB has evolved into one of the most popular open source “NoSQL” databases—so-called because they dispense with the tabular storage schema of relational databases like MySQL and Postgres. NoSQL databases offer a variety of advantages in many cases

The biggest advantage is that MongoDB databases don’t require developers to define schemas before adding data to a database. Instead, they use a flexible document-based model, similar to Python dictionaries or Ruby hashes. With MongoDB, you don’t need to spend time creating tables before you can process your data. That makes the NoSQL approach ideal for situations where you don’t know how much data you have to handle, what form it is in, or how quickly it is going to move around.

There’s a lot more to say about what makes MongoDB, and NoSQL in general, a better fit for some situations. (I could also write a great deal about when not to use NoSQL—and that’s  important, because despite NoSQL’s current trendiness, it’s not better in all contexts.)

But that’s all fodder for a separate blog post. For now, let’s move onto the meat of this post, which is how to install MongoDB on Red Hat Enterprise Linux (RHEL) in order to take advantage of NoSQL databases.

Continue reading “Installing MongoDB on Red Hat Enterprise Linux”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

Three easy steps to get started with Software Collections on RHEL

How would you like a development environment on Red Hat Enterprise Linux (RHEL) set up in less than a minute? Having multiple versions of software installed at the same time? Is there a simpler and faster way than manually searching for and then installing separate packages?

The answer to all three questions is: Red Hat Software Collections (RHSCL). This technology has been around for a few years, but not everyone is familiar with it. This article reveals its potential and ease of use.

Software Collections give you the power to build, install, and use multiple versions of software on the same system without affecting system-wide installed packages. Each collection is delivered as a group of RPMs (packages).

Continue reading “Three easy steps to get started with Software Collections on RHEL”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

Get started with Node.js v4 using Red Hat Software Collections 2.2 Beta

Node.js v4 is now available on Red Hat Enterprise Linux 6 and 7 using Red Hat Software Collections 2.2 Beta. The Get Started with Node.js v4 guide has you covered even if you don’t know how to use Red Hat Software Collections (RHSCL) or how to access the beta. After enabling the RHSCL 2.2 Beta software repository on your system, you will be able to install node, npm, and up to 200 additional Node.js packages with a simple yum command.

Why use Red Hat Software Collections?

RHSCL enables you to install the latest development technologies using supported packages that can coexist with other versions such as those included with Red Hat Enterprise Linux. Using a separate software lifecycle for software collections allows Red Hat to deliver and support newer releases of software as they mature from their upstream projects. Many of the packages in RHSCL are updated annually and are supported for up to three years. Consider this in contrast to the packages included with Red Hat Enterprise Linux that are supported for up to ten years. As a developer, if you are wondering why you should care about supported packages, think about what you need to do the next time a critical vulnerability is discovered in one of the packages that the software you deliver depends upon.

Switch between multiple versions

RHSCL packages are installed in /opt/rh/collection-name. When you want to use a software collection, you add it to your environment (command search, library, and manual path) using scl enable collection-name. This allows you to install both Node.js v4 and v0.10 and easily switch between them.

Helpful Resources


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

New beta: Software Collections 2.2 and Developer Toolset 4.1

Red Hat Developer Toolset has already been available for nearly four years and Red Hat Software Collections has been out for two and a half. We’ve seen excellent adoption of these as more and more developers and customers utilize the newer technologies that become available.

So, this week we announced more with these two new beta releases.

Continue reading “New beta: Software Collections 2.2 and Developer Toolset 4.1”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.