yum으로 rpm 설치

1 개요[ | ]

yum으로 rpm 설치
  • rpm은 rpm으로 설치하는 것이 보통이겠지만, yum으로 설치해도 된다.
  • rpm 대신 yum으로 설치하면 yum list에도 보이게 된다는 장점이 있다.

2 로컬 rpm 설치[ | ]

[root@zetawiki ~]# ll *.rpm
-rw-r--r--. 1 root root 14540 Nov  6  2012 epel-release-6-8.noarch.rpm
[root@zetawiki ~]# yum install epel-release-6-8.noarch.rpm
... (생략)
===========================================================================================
 Package              Arch           Version        Repository                        Size
===========================================================================================
Installing:
 epel-release         noarch         6-8            /epel-release-6-8.noarch          22 k

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

Total size: 22 k
Installed size: 22 k
Is this ok [y/N]: y
... (생략)
Installed:
  epel-release.noarch 0:6-8                                                                

Complete!

3 원격 rpm 설치[ | ]

[root@zetawiki ~]# yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
... (생략)
===========================================================================================
 Package              Arch           Version        Repository                        Size
===========================================================================================
Installing:
 epel-release         noarch         6-8            /epel-release-6-8.noarch          22 k

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

Total size: 22 k
Installed size: 22 k
Is this ok [y/N]: y
... (생략)
Installed:
  epel-release.noarch 0:6-8                                                                

Complete!

4 같이 보기[ | ]

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