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 plugins 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 instance, the only way to fix this issue is to delete the ~/.eclipse
directory and then restart JBoss Developer Studio.
Prerequisites
- Register your Red Hat Enterprise Linux system. For instructions on registering your system, see How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager.
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 repository on Red Hat Enterprise Linux Server or enable the rhel-workstation-rhscl-7-rpms repository on Red Hat Enterprise Linux Workstation
Red Hat Developer Tools is not supported on the Client or the ComputeNode variant.
To enable the Red Hat Developer Tools repositories:
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
NoteIn 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.
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 https://www.redhat.com/security/data/a5787476.txt # rpm --import RPM-GPG-KEY-redhat-devel
7.2. Installing Red Hat JBoss Developer Studio and its Dependencies
To install JBoss Developer Studio and all the dependencies, run the following command:
# yum install rh-eclipse47-devstudio