Chapter 4. Specifics of Individual Software Collections
4.1. Red Hat Developer Toolset
/opt/ directory. These tools are enabled by the user on demand using the supplied scl utility. Similarly to other Software Collections, these do not replace the Red Hat Enterprise Linux system versions of these tools, nor will they be used in preference to those system versions unless explicitly invoked using the scl utility.
4.2. Eclipse 4.6.3
Note

Figure 4.1. Sample Eclipse Session
gcc or gdb) and Eclipse offer two distinct approaches to programming.
Table 4.1. Eclipse Components Included in the rh-eclipse46 Software Collection
| Package | Description |
|---|---|
| rh-eclipse46-eclipse-cdt | The C/C++ Development Tooling (CDT), which provides features and plug-ins for development in C and C++. |
| rh-eclipse46-eclipse-changelog | The ChangeLog plug-in, which allows you to create and maintain changelog files. |
| rh-eclipse46-eclipse-egit | EGit, a team provider for Eclipse that provides features and plug-ins for interaction with Git repositories. |
| rh-eclipse46-eclipse-emf | The Eclipse Modeling Framework (EMF), which allows you to build applications based on a structured data model. |
| rh-eclipse46-eclipse-epp-logging | The Eclipse error reporting tool. |
| rh-eclipse46-eclipse-gcov | The GCov plug-in, which integrates the GCov test coverage program with Eclipse. |
| rh-eclipse46-eclipse-gef | The Graphical Editing Framework (GEF), which allows you to create a rich graphical editor from an existing application model. |
| rh-eclipse46-eclipse-gprof | The Gprof plug-in, which integrates the Gprof performance analysis utility with Eclipse. |
| rh-eclipse46-eclipse-jdt | The Eclipse Java development tools (JDT) plug-in. |
| rh-eclipse46-eclipse-jgit | JGit, a Java implementation of the Git revision control system. |
| rh-eclipse46-eclipse-manpage | The Man Page plug-in, which allows you to view manual pages in Eclipse. |
| rh-eclipse46-eclipse-mpc | The Eclipse Marketplace Client. |
| rh-eclipse46-eclipse-mylyn | Mylyn, a task management system for Eclipse. |
| rh-eclipse46-eclipse-oprofile | The OProfile plug-in, which integrates OProfile with Eclipse. |
| rh-eclipse46-eclipse-pde | The Plugin Development Environment for developing Eclipse plugins. |
| rh-eclipse46-eclipse-perf | The Perf plug-in, which integrates the perf tool with Eclipse. |
| rh-eclipse46-eclipse-ptp | A subset of the PTP project providing support for synchronized projects. |
| rh-eclipse46-eclipse-pydev | A full featured Python IDE for Eclipse. |
| rh-eclipse46-eclipse-remote | The Remote Services plug-in, which provides an extensible remote-services framework. |
| rh-eclipse46-eclipse-rpm-editor | The Eclipse Spec File Editor, which allows you to maintain RPM spec files. |
| rh-eclipse46-eclipse-rse | The Remote System Explorer (RSE) framework, which allows you to work with remote systems from Eclipse. |
| rh-eclipse46-eclipse-systemtap | The SystemTap plug-in, which integrates SystemTap with Eclipse. |
| rh-eclipse46-eclipse-valgrind | The Valgrind plug-in, which integrates Valgrind with Eclipse. |
| rh-eclipse46-eclipse-webtools | The Eclipse Webtools plug-ins. |
4.2.1. Installing Eclipse
root:
yum install rh-eclipse46Note
4.2.2. Using Eclipse
scl enable rh-eclipse46 eclipse~/workspace/, which is the default option, or click the button to browse your file system and select a custom directory. Additionally, you can select the Use this as the default and do not ask again check box to prevent Eclipse from displaying this dialog box the next time you run this development environment. When you are done, click the button to confirm the selection and proceed with the startup.
4.2.2.1. Using the Red Hat Developer Toolset Toolchain
Important
4.2.2.2. Using the Red Hat Enterprise Linux Toolchain
gcc, g++, and as.
- In the C/C++ perspective, choose → from the main menu bar to open the project properties.
- In the menu on the left-hand side of the dialog box, click → .
- Select the Tool Settings tab.
- If you are working on a C project:
- select or and change the value of the Command field to:
/usr/bin/gcc
- select or and change the value of the Command field to:
/usr/bin/gcc
- select or and change the value of the Command field to:
/usr/bin/as
If you are working on a C++ project:- select or and change the value of the Command field to:
/usr/bin/g++
- select or and change the value of the Command field to:
/usr/bin/gcc
- select or and change the value of the Command field to:
/usr/bin/g++
- select or and change the value of the Command field to:
/usr/bin/as
- Click the button to save the configuration changes.
4.2.3. Additional Resources
Installed Documentation
- Eclipse includes a built-in system, which provides extensive documentation for each integrated feature and tool. This greatly decreases the initial time investment required for new developers to become fluent in its use. The use of this Help section is detailed in the Red Hat Enterprise Linux Developer Guide linked below.
See Also
- Using Eclipse describing usage of the rh-eclipse47 component of Red Hat Developer Tools.
- The Red Hat Developer Toolset chapter in the Red Hat Developer Toolset User Guide provides an overview of Red Hat Developer Toolset and more information on how to install it on your system.
- The GNU Compiler Collection (GCC) chapter in the Red Hat Developer Toolset User Guide provides information on how to compile programs written in C, C++, and Fortran on the command line.
4.3. Ruby on Rails 5.0
root:
yum install rh-ror50WebSockets in Rails.
rails s command without requiring rh-nodejs6, disable the coffee-rails and uglifier gems in the Gemfile.
scl enable rh-ror50 bash
scl enable rh-ror50 rh-nodejs6 bash
4.4. MongoDB 3.4
root:
yum install rh-mongodb34scl enable rh-mongodb34 'mongo'Note
-std=gnu++14 option using GCC from Red Hat Developer Toolset 6. Binaries using the shared library for the MongoDB C++ Driver that use C++11 (or later) features have to be built also with Red Hat Developer Toolset 6. See C++ compatibility details in the Red Hat Developer Toolset 6 User Guide.
MongoDB 3.4 on Red Hat Enterprise Linux 6
root:
service rh-mongodb34-mongod startroot:
chkconfig rh-mongodb34-mongod onroot:
service rh-mongodb34-mongos startroot:
chkconfig rh-mongodb34-mongos onmongos.conf file.
MongoDB 3.4 on Red Hat Enterprise Linux 7
root:
systemctl start rh-mongodb34-mongod.serviceroot:
systemctl enable rh-mongodb34-mongod.serviceroot:
systemctl start rh-mongodb34-mongos.serviceroot:
systemctl enable rh-mongodb34-mongos.servicemongos.conf file.
4.5. Git
4.6. Maven
root:
yum install rh-maven35scl enable rh-maven35 bash/opt/rh/rh-maven35/root/etc/maven/settings.xml file.
4.7. Passenger
/opt/rh/httpd24/root/etc/httpd/conf.d/passenger.conf for an example of Apache httpd configuration, which shows how to use multiple Ruby versions in a single Apache httpd instance.
scl enable nginx16 rh-passenger40 'passenger start'4.8. Database Connectors
Table 4.2. Interoperability Between Languages and Databases
| Database | |||||
|---|---|---|---|---|---|
| Language (Software Collection) | MariaDB | MongoDB | MySQL | PostgreSQL | Redis |
| rh-nodejs4 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-nodejs6 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-nodejs8 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-perl520 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-perl524 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-php56 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-php70 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-php71 | ![]() | ![]() | ![]() | ![]() | ![]() |
| python27 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-python34 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-python35 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-python36 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-ror50 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-ror42 | ![]() | ![]() | ![]() | ![]() | ![]() |
| rh-ror41 | ![]() | ![]() | ![]() | ![]() | ![]() |
![]() | Supported | ![]() | Unsupported | ||



Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.