2.2.6.3. Installing Using the Red Hat Enterprise Linux Optional Channel
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 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
$ sudo yum-config-manager --enable rhel-6-[operating_system]-optional-rpms
sudo rhn-channel --add --channel rhel-[architecture]-[operating_system]-optional-6
$ sudo rhn-channel --add --channel rhel-[architecture]-[operating_system]-optional-6
- operating_system: type of operating system installed. Enter either
workstation,clientorserver. - architecture: your system architecture. Enter either
i386orx86_64.
sudo rhn-channel --add --channel=rhel-x86_64-workstation-optional-6
$ sudo rhn-channel --add --channel=rhel-x86_64-workstation-optional-6
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
- Make sure
RubyGemsis installed:sudo yum install rubygems
$ sudo yum install rubygemsCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Then run the following command to install the
rhcgem:sudo gem install rhc
$ sudo gem install rhcCopy to Clipboard Copied! Toggle word wrap Toggle overflow