CentOS ruby 설치

1 개요[ | ]

CentOS ruby 설치

2 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep ruby
[root@zetawiki ~]# ruby --version
-bash: ruby: command not found

3 설치[ | ]

[root@zetawiki ~]# yum install ruby
... (생략)
======================================================================
 Package             Arch      Version               Repository  Size
======================================================================
Installing:
 ruby                x86_64    1.8.7.352-13.el6      updates    534 k
Installing for dependencies:
 compat-readline5    x86_64    5.2-17.1.el6          base       130 k
 ruby-libs           x86_64    1.8.7.352-13.el6      updates    1.6 M
Updating for dependencies:
 openssl             x86_64    1.0.1e-16.el6_5.7     updates    1.5 M

Transaction Summary
======================================================================
Install       3 Package(s)
Upgrade       1 Package(s)

Total download size: 3.8 M
Is this ok [y/N]: y
... (생략)
Installed:
  ruby.x86_64 0:1.8.7.352-13.el6                                      

Dependency Installed:
  compat-readline5.x86_64 0:5.2-17.1.el6                              
  ruby-libs.x86_64 0:1.8.7.352-13.el6                                 

Dependency Updated:
  openssl.x86_64 0:1.0.1e-16.el6_5.7                                  

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep ruby
ruby-1.8.7.352-13.el6.x86_64
ruby-libs-1.8.7.352-13.el6.x86_64
[root@zetawiki ~]# ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}