2.2.6.3. Installing Using the Red Hat Enterprise Linux Optional Channel


If you do not have RubyGems already installed, you must enable the Red Hat Enterprise Linux Optional channel. The following assumes that the client system is already registered and subscribed to a Red Hat Enterprise Linux base channel.

Important

If attempting to install the client tools on either an OpenShift Enterprise broker or node host, note that they should only be installed via the RPMs found in the OpenShift Enterprise channel. Using gem-installed client tools on a broker or node host could potentially cause problems. To continue installing the client tools on a broker or node host, see the section on installing via the OpenShift Enterprise channel.
Configuring the Optional Channel

If you are using Red Hat Subscription Management, use the following command to enable the Optional channel:

$ sudo yum-config-manager --enable rhel-6-[operating_system]-optional-rpms
Copy to Clipboard Toggle word wrap
If you are using RHN Classic, use the following command to enable the Optional channel:
$ sudo rhn-channel --add --channel rhel-[architecture]-[operating_system]-optional-6
Copy to Clipboard Toggle word wrap

  • operating_system: type of operating system installed. Enter either workstation, client or server.
  • architecture: your system architecture. Enter either i386 or x86_64.
For example, if you have Red Hat Enterprise Linux Workstation 6 installed on a 64-bit x86 computer, and you are using RHN Classic, run the command as shown below to enable the Optional channel:
$ sudo rhn-channel --add --channel=rhel-x86_64-workstation-optional-6
Copy to Clipboard Toggle word wrap
Installing the Client Tools

After the Optional channel has been enabled, use the following procedure to install the rhc gem which provides the client tools:

Procedure 2.3. To Install the rhc gem on Red Hat Enterprise Linux

  1. Make sure RubyGems is installed:
    $ sudo yum install rubygems
    Copy to Clipboard Toggle word wrap
  2. Then run the following command to install the rhc gem:
    $ sudo gem install rhc
    Copy to Clipboard Toggle word wrap
When you have finished installing the OpenShift Enterprise client tools, proceed to Section 2.3, “Configuring Client Tools” to configure the client tools using the interactive setup wizard.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top