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, see 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, see https://access.redhat.com/site/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 |
If your system is registered with RHN Classic, complete the following steps to subscribe to Red Hat Developer Toolset:
- Determine the exact name of the Red Hat Developer Toolset channel. To do so, type the following at a shell prompt as
rootto display a list of all channels that are available to you:rhn-channel --available-channelsThe name of the channel depends on the specific version of Red Hat Enterprise Linux you are using and is in the following format:rhel-
architecture-variant-dts2-versionIn addition, certain packages such as devtoolset-2-git or devtoolset-2-gcc-plugin-devel depend on packages that are only available in the Optional channel. The name of this channel uses the following format:rhel-
architecture-variant-optional-versionReplacearchitecturewith the system's CPU architecture (x86_64ori386),variantwith the Red Hat Enterprise Linux system variant (serverorworkstation), andversionwith the Red Hat Enterprise Linux system version (5or6). - Subscribe the system to the channels from Step 1 by running the following command as
root:rhn-channel --add --channel=channel_nameReplacechannel_namewith the name of the channel to enable. - 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, see the Red Hat Subscription Management Guide.
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:
- Determine the pool ID of a subscription that provides Red Hat Developer Toolset. To do so, type the following at a shell prompt as
rootto display a list of all subscriptions that are available for your system:subscription-manager list --availableFor 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 withPool Id.For a complete list of subscriptions that provide access to Red Hat Developer Toolset, see Table 1.2, “Subscriptions That Provide Red Hat Developer Toolset”. - Attach the appropriate subscription to your system by running the following command as
root:subscription-manager subscribe --pool=pool_idReplacepool_idwith the pool ID you determined in the previous step. To verify the list of subscriptions your system has currently attached, at any time, run asroot:subscription-manager list --consumed - Determine the exact name of Red Hat Developer Toolset repositories. To do so, type the following at a shell prompt as
rootto retrieve repository metadata and to display a list of available Yum repositories:subscription-manager repos --listThe repository names depend on the specific version of Red Hat Enterprise Linux you are using, and are in the following format:rhel-
variant-dts2-version-rpms rhel-variant-dts2-version-debug-rpms rhel-variant-dts2-version-source-rpmsIn addition, certain packages such as devtoolset-2-git or devtoolset-2-gcc-plugin-devel depend on packages that are only available in the Optional channel. The repository names with these packages use the following format:rhel-
version-variant-optional-rpms rhel-version-variant-optional-debug-rpms rhel-version-variant-optional-source-rpmsReplacevariantwith the Red Hat Enterprise Linux system variant (serverorworkstation), andversionwith the Red Hat Enterprise Linux system version (5or6). - Enable the repositories from Step 3 by running the following command as
root:subscription-manager repos --enablerepositoryReplacerepositorywith the name of the repository to enable.
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, see the Red Hat Subscription Management Guide.