After some initial trial and error, I was able to successfully install the HP Cloud CLI on Ubuntu 11.10 Desktop (64-Bit). It’s not a necessarily difficult task to complete, but knowing all of the needed dependencies and steps from the start can speed things up dramatically. With the below guide, you should be able to be up and running in 5 minutes or less.
1.) First, we’ll add some needed dependencies:
sudo apt-get install curl git-core build-essential libssl-dev libreadline5 libxml2-dev libxslt1-dev
2.) Next, let’s install RVM, the Ruby Version Manager. We’ll be using this to install Ruby instead of doing it via apt-get. (Note: You need to execute this, and all of the additional commands below, as your local user and *not* the root user.)