1.4. Getting Access to Red Hat Developer Toolset

Red Hat Developer Toolset is an offering that is distributed as part of the developer subscriptions listed in Table 1.2, “Subscriptions that provide Red Hat Developer Toolset”. Depending on the subscription management service with which you registered your Red Hat Enterprise Linux system, you can either enable Red Hat Developer Toolset by using the Red Hat Subscription Management, or by using RHN Classic.
For detailed instructions on how to enable Red Hat Developer Toolset using RHN Classic or Red Hat Subscription Management, refer to the respective section below. For information on how to register your system with one of these subscription management services, see the Red Hat Subscription Management Guide.

Important

If you are running a version of Red Hat Enterprise Linux prior to 5.9 or 6.4, you will be unable to download Red Hat Developer Toolset through Red Hat Subscription Management. To obtain Red Hat Developer Toolset, you will need to either update to Red Hat Enterprise Linux 5.9 or 6.4, or register your system with RHN Classic. For more information, refer to https://access.redhat.com/knowledge/solutions/129003.

Table 1.2. Subscriptions that provide Red Hat Developer Toolset

SKU Subscription Name
RH2282403 Red Hat Enterprise Linux Developer Support, Professional
RH2264664 Red Hat Enterprise Linux Developer Support, Enterprise
RH2262474 Red Hat Enterprise Linux Developer Suite
RH3482727 Red Hat Enterprise Linux Developer Workstation, Professional
RH3413336 Red Hat Enterprise Linux Developer Workstation, Enterprise
RH3414706 30 day Self-Supported Red Hat Enterprise Linux Developer Workstation Evaluation
RH3474212 60 day Supported Red Hat Enterprise Linux Developer Workstation Evaluation
RH3437268 90 day Supported Red Hat Enterprise Linux Developer Workstation Evaluation
SER0402 1-year Unsupported Partner Evaluation Red Hat Enterprise Linux
SER0403 1-year Unsupported Red Hat Advanced Partner Subscription

1.4.1. Using RHN Classic

If your system is registered with RHN Classic, complete the following steps to subscribe to Red Hat Developer Toolset:
  1. Display a list of all channels that are available to you in order to determine the exact name of the Red Hat Developer Toolset channel. To do so, type the following at a shell prompt as root:
    rhn-channel --available-channels
    The name of the channel depends on the specific version of Red Hat Enterprise Linux you are using and is in the rhel-architecture-variant-dts-version format, where architecture is the system's CPU architecture (x86_64 or i386), variant is the Red Hat Enterprise Linux system variant (server or workstation), and version is the Red Hat Enterprise Linux system version (5 or 6).
  2. Subscribe the system to the Red Hat Developer Toolset channel by running the following command as root:
    rhn-channel --add --channel=channel_name
    Replace channel_name with the name you determined in the previous step.
  3. To verify the list of channels you are subscribed to, at any time, run as root:
    rhn-channel --list
Once the system is subscribed, you can install Red Hat Developer Toolset as described in Section 1.5, “Installing Red Hat Developer Toolset”. For more information on how to register your system with RHN Classic, refer to the Red Hat Subscription Management Guide.

1.4.2. Using Red Hat Subscription Management

If your system is registered with Red Hat Subscription Management, complete the following steps to attach a subscription that provides access to the repository for Red Hat Developer Toolset, and then enable that repository:
  1. Display a list of all subscriptions that are available for your system to determine the pool ID of a subscription that provides Red Hat Developer Toolset. To do so, type the following at a shell prompt as root:
    subscription-manager list --available
    For each available subscription, this command displays its name, unique identifier, expiration date, and other details related to your subscription. The pool ID is listed on a line beginning with Pool Id.
    For a complete list of subscriptions that provide access to Red Hat Developer Toolset, refer to Table 1.2, “Subscriptions that provide Red Hat Developer Toolset”.
  2. Attach the appropriate subscription to your system by running the following command as root:
    subscription-manager subscribe --pool=pool_id
    Replace pool_id with the pool ID you determined in the previous step. To verify the list of subscriptions your system has currently attached, at any time, run as root:
    subscription-manager list --consumed
  3. Display a list of available Yum repositories to retrieve repository metadata and to determine the exact name of the Red Hat Developer Toolset repositories. As root, type:
    yum repolist all
    The repository names depend on the specific version of Red Hat Enterprise Linux you are using, and are in the following format:
    rhel-variant-dts-version-rpms
    rhel-variant-dts-version-debug-rpms
    rhel-variant-dts-version-source-rpms
    Replace variant with the Red Hat Enterprise Linux system variant (server or workstation), and version with the Red Hat Enterprise Linux system version (5 or 6).
  4. Enable the appropriate repository. On Red Hat Enterprise Linux 6, you can do so by running the following command as root:
    yum-config-manager --enable repository
    On Red Hat Enterprise Linux 5, which does not support the yum-config-manager tool, edit the /etc/yum.repos.d/redhat.repo file, locate the relevant [repository] section, and set the value of the enabled option to 1:
    enabled = 1
Once the subscription is attached to the system, you can install Red Hat Developer Toolset as described in Section 1.5, “Installing Red Hat Developer Toolset”. For more information on how to register your system using Red Hat Subscription Management and associate it with subscriptions, refer to the Red Hat Subscription Management Guide.