安装openshift客户端工具 rhc

时间:2022-01-11 15:58:01

安装ruby:

$ sudo apt-get install ruby-full
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会安装下列额外的软件包:
libruby1.9.1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libyaml-- ri1.9.1
ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full
建议安装的软件包:
graphviz ruby-switch
下列【新】软件包将被安装:
libruby1.9.1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libyaml-- ri1.9.1
ruby-full ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full
升级了 个软件包,新安装了 个软件包,要卸载 个软件包,有 个软件包未被升级。
需要下载 15.2 MB 的软件包。
解压缩后会消耗掉 42.3 MB 的额外空间。
您希望继续执行吗?[Y/n]

安装rhc:

$ sudo gem install rhc
Fetching: net-ssh-2.9..gem (%)
Fetching: net-scp-1.2..gem (%)
Fetching: net-ssh-gateway-1.2..gem (%)
Fetching: net-ssh-multi-1.2..gem (%)
Fetching: archive-tar-minitar-0.5..gem (%)
Fetching: highline-1.6..gem (%)
Fetching: commander-4.3..gem (%)
Fetching: httpclient-2.6.0.1.gem (%)
Fetching: open4-1.3..gem (%)
Fetching: rhc-1.34..gem (%)
=========================================================================== If this is your first time installing the RHC tools, please run 'rhc setup' ===========================================================================
Successfully installed net-ssh-2.9.
Successfully installed net-scp-1.2.
Successfully installed net-ssh-gateway-1.2.
Successfully installed net-ssh-multi-1.2.
Successfully installed archive-tar-minitar-0.5.
Successfully installed highline-1.6.
Successfully installed commander-4.3.
Successfully installed httpclient-2.6.0.1
Successfully installed open4-1.3.
Successfully installed rhc-1.34.
gems installed
Installing ri documentation for net-ssh-2.9....
Installing ri documentation for net-scp-1.2....
Installing ri documentation for net-ssh-gateway-1.2....
Installing ri documentation for net-ssh-multi-1.2....
Installing ri documentation for archive-tar-minitar-0.5....
Installing ri documentation for highline-1.6....
Installing ri documentation for commander-4.3....
Installing ri documentation for httpclient-2.6.0.1...
Installing ri documentation for open4-1.3....
Installing ri documentation for rhc-1.34....
Installing RDoc documentation for net-ssh-2.9....
Installing RDoc documentation for net-scp-1.2....
Installing RDoc documentation for net-ssh-gateway-1.2....
Installing RDoc documentation for net-ssh-multi-1.2....
Installing RDoc documentation for archive-tar-minitar-0.5....
Installing RDoc documentation for highline-1.6....
Installing RDoc documentation for commander-4.3....
Installing RDoc documentation for httpclient-2.6.0.1...
Installing RDoc documentation for open4-1.3....
Installing RDoc documentation for rhc-1.34....