Red Hat Training

A Red Hat training course is available for Red Hat JBoss Developer Studio

Chapter 7. Installing JBoss Developer Studio Using RPM

On Red Hat Enterprise Linux 7.4 and higher, JBoss Developer Studio can be installed using the standard package management system. RPM packages that use the software collections format are provided in the Red Hat Developer Tools repository. This section explains how to enable that repository and install JBoss Developer Studio from RPM packages.

The Red Hat Developer Tools repository includes the following RPMs:

  • Eclipse
  • Devstudio
  • CDK
  • Kompose: Kompose is being released as Technology Preview for this Red Hat Developer Tools 1.0 release. For information on support for features released as Technology Preview, see Technology Preview Features Support Scope.

Installation of third-party plugins that are not included in Red Hat Central, may corrupt JBoss Developer Studio. If you have installed any plugin in JBoss Developer Studio from an Update Site, including Red Hat Central, we highly recommend starting JBoss Developer Studio by running the following commands:

$ scl enable rh-eclipse47 bash
$ cd /opt/rh/rh-eclipse47/root/usr/lib64/eclipse/
$ ./eclipse -clean

If an installed plugin corrupts the JBoss Developer Studio istance, the only way to fix this issue is to delete the ~/.eclipse directory and then restart JBoss Developer Studio.


7.1. Enabling the Red Hat Developer Tools Repositories

To install JBoss Developer Studio using the RPM package you must first enable the Red Hat Developer Tools repositories.

  • Enable the rhel-7-server-devtools-rpms repository on Red Hat Enterprise Linux Server or enable the rhel-7-workstation-devtools-rpms repository on Red Hat Enterprise Linux Workstation
  • Enable the rhel-server-rhscl-7-rpms reository

Red Hat Developer Tools is not supported on the Client or the ComputeNode variant.

To enable the Red Hat Developer Tools repositories:

  1. Run the following commands as the root user:

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

    In the above command, depending on the variant of Red Hat Enterprise Linux that you are using, Server or Workstation, the commands will be:

    • For the Workstation variant: subscription-manager repos --enable rhel-7-workstation-devtools-rpms
    • For the Server variant: subscription-manager repos --enable rhel-7-server-devtools-rpms

    For developers, we recommend using Red Hat Enterprise Linux Server for access to the widest range of development tools.

    For more information on registering and attaching subscriptions, see Using and Configuring Red Hat Subscription Management.

  2. To add the Red Hat Developer Tools key to your system, run the following commands as the root user:

    # cd /etc/pki/rpm-gpg
    # wget -O RPM-GPG-KEY-redhat-devel
    # rpm --import RPM-GPG-KEY-redhat-devel

7.2. Installing JBoss Developer Studio and its Dependencies

To install JBoss Developer Studio and all the dependencies, run the following command:

yum install rh-eclipse47-devstudio