RHEL 7 is for developers


Red Hat Enterprise Linux 7 is now GA and so it’s time to write some code and/or port your applications.  So let’s take a quick inventory of development tools, shall we?

With RHEL, there are 2 primary sets of toolchains for you to use.  First, there’s base RHEL 7 tools (like RHEL 6) that will be supported with RHEL 7 for 10 years (more below).  Second, there are complementary tools in Red Hat Software Collections (RHSCL) and Red Hat Developer Toolset (DTS) that are updated fairly frequently (to keep up with the upstream) and are supported for 2-3 years* with major releases every 12-18 months*.  Which to use you ask?  (Thank you for asking.) As a general rule, if you need your tools supported for 10 years, use the base RHEL 7 tools.  If you expect you’ll be wanting to A) update to newer versions of your tools at some point, B) want updated features, and/or C) want versions compatible with OpenShift cartridges, then go with RHSCL.

Red Hat Software Collections are also supported on RHEL 6, too, so applications built with RHSCL components on RHEL 6 can be moved to RHEL 7 later when you’re ready.  In addition, RHSCL and DTS collections can run on RHEL in a RHEV virtual machine, Docker container, or OpenStack.

So let’s take inventory of what’s available and where to find them:

C, C++, Fortran

RHEL 7 has gcc 4.8 for your C, C++, and Fortran development.  Red Hat has a great engineering team that’s been contributing to the ISO C++ standards development and prototyping those features in gcc for a long time and much has been enhanced over the years.

In addition, you can use Developer Toolset 2.1 (DTS) to use essentially the same gcc 4.8 to compile on RHEL 6, and deploy on either RHEL 6 or 7.  Since DTS is not on RHEL 7 yet, this gives you a head start on RHEL 6 so you can code for RHEL 7 even before you have it (RHEL 7) installed or deployed on your system or in your organization.

Java

As with RHEL 6, RHEL 7 has OpenJDK7 too. In RHEL 7, OpenJDK7 is the default JVM. Java applications written for OpenJDK 7 should be portable from RHEL 6 to 7.  (BTW, Java installs as a typical RPM install.)

Scripting Languages

RHEL 7 includes Python 2.7, Ruby 2.0, PHP 5.4, and Perl 5.16.

RHSCL (see the link for other components) includes these programming language versions:  Python 2.7 and 3.3, Ruby 1.9.3 and 2.0, PHP 5.4 and 5.5, Perl 5.16, and Node.js 0.10.

Again, if you expect to update your programming language version, use the RHSCL version.

Databases

RHEL 7 includes MariaDB 5.5 and PostgreSQL 9.2, and RHSCL includes these too.  In addition, RHSCL includes MySQL 5.5 and MongoDB 2.4.

SOMETHING TO REMEMBER FOR RHSCL AND DEVELOPER TOOLSET:

  1. RHSCL and DTS components can be found in their own RHN Channel or Subscription Manager Repo as appropriate.  Note that both are included with all Red Hat Developer Subscriptions, Red Hat Standard and Premium subscriptions, and most Academic subscriptions.
  2. If you’ve not installed RHSCL components before, definitely check the installation guide as there could be some gotchas to avoid.

You can find more about developing for RHEL 7 at https://access.redhat.com/site/products/red-hat-enterprise-linux/developers.

*Major releases of Red Hat Software Collections are supported for 3 years with major releases approximately every 18 months.  Major releases of Red Hat Developer Toolset are supported for 2 years with major releases approximately every 12 months.


For more information about Red Hat Enterprise Linux and other topics related to this article, visit one of these sites:  Red Hat Enterprise Linux, Red Hat Enterprise Linux Developer Program, Red Hat Enterprise Linux 7 is now generally available.

 


This entry was posted in Announcement, Red Hat Enterprise Linux, RHEL7 and tagged , by Mike Guerette. Bookmark the permalink.

About Mike Guerette

Mike leads the Red Hat Enterprise Linux Developer Program (which includes developer tools like Red Hat Developer Toolset and Red Hat Software Collections) and is currently a blogger and curator for developerblog.redhat.com. Follow @MikGue. With more than 30 years of industry experience, Mike has worked as a product manager and in partner business development at Digital, Compaq, HP, and Avaya. He has lots of experience with a variety of platforms and technologies including operating systems, middleware, BPM, cloud, and more.

One thought on “RHEL 7 is for developers

  1. Pingback: Red Hat Developer Newsletter – July 2014 | Red Hat Developer Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s