Install Openshift Client tools on Ubuntu 14.04

Please share it on

I was trying to install openshift client tools on my new ubuntu 14.04, but I couldn’t install it using this guide. So I was searching the package “rubygems”. After few googling, I landed this page https://launchpad.net/ubuntu/trusty/i386/rubygems/1.8.24-1ubuntu2 , “This package provides Rubygems for Ruby 1.8. In Ruby 1.9.X, Rubygems is provided with the interpreter”. i.e  The package name is “rubygems-integration”

Now install the below packages

root@w3bootstrap.com:/home/sathish# apt-get install ruby-full rubygems-integration git-core

After the installation, verify it

root@w3bootstrap.com:/home/sathish/openshift# ruby -e 'puts "Welcome to Ruby"'
Welcome to Ruby
root@w3bootstrap.com:/home/sathish/openshift# git --version
git version 1.9.1

Now install openshift client tools

root@w3bootstrap.com:/home/sathish/openshift# sudo gem install rhc

After the installation, run the below command

root@w3bootstrap.com:/home/sathish/openshift# rhc setup

This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.

If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|

You can add more servers later using 'rhc server'.

Login to openshift.redhat.com: sathish@w3bootstrap.com
Password: **********

If everything goes well, you can run the rhc commands to access the openshift apps

root@w3bootstrap.com:/home/sathish/openshift# rhc
Usage: rhc [--help] [--version] [--debug] <command></command> []
Please share it on

3 Comments for “Install Openshift Client tools on Ubuntu 14.04”

Leave a Reply

Your email address will not be published. Required fields are marked *