티스토리 뷰

IA/System Admin

[v6] yum

kiostory 2011. 5. 31. 13:20

yum help : 사용법

yum list : 설치되었거나 가용한 패키지정보

[root@desktop4 ~]# yum list installed |wc -l
This system is not registered with RHN.
RHN support will be disabled.
1019
[root@desktop4 ~]# yum list |wc -l
This system is not registered with RHN.
RHN support will be disabled.
6069
[root@desktop4 ~]#


yum search 키워드 : 키워드 단위로 리스트 검색

[root@desktop4 ~]# yum search httpd
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
================================== Matched: httpd ===================================
httpd-devel.i686 : Development interfaces for the Apache HTTP server
httpd-devel.x86_64 : Development interfaces for the Apache HTTP server
httpd-manual.noarch : Documentation for the Apache HTTP server
httpd-tools.x86_64 : Tools for use with the Apache HTTP Server
httpd.x86_64 : Apache HTTP Server
mod_dav_svn.x86_64 : Apache httpd module for Subversion server
mod_dnssd.x86_64 : An Apache HTTPD module which adds Zeroconf support
mod_ssl.x86_64 : SSL/TLS module for the Apache HTTP Server
[root@desktop4 ~]#


yum info 패키지 : 패키지 세부 정보

[root@desktop4 ~]# yum info httpd
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
Name       : httpd
Arch       : x86_64
Version    : 2.2.15
Release    : 5.el6
Size       : 2.9 M
Repo       : installed
From repo  : anaconda-RedHatEnterpriseLinux-201009221801.x86_64
Summary    : Apache HTTP Server
URL        : http://httpd.apache.org/
License    : ASL 2.0
Description: The Apache HTTP Server is a powerful, efficient, and extensible
           : web server.

[root@desktop4 ~]#


yum install 패키지 : 의존성 관련 파일을 포함한 패키지의 설치

yum remove 패키지 : 의존성 관련 파일을 포함한 패키지의 삭제

yum update 패키지 : 새버젼의 패키지 업데이트. 패키지명이 없으면 모두 업데이트

yum provides 파일패스명 : 파일이 제공하는 패키지 정보 출력

[root@desktop4 ~]# yum provides /usr/sbin/httpd
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
httpd-2.2.15-5.el6.x86_64 : Apache HTTP Server
Repo        : base
Matched from:
Filename    : /usr/sbin/httpd



httpd-2.2.15-5.el6.x86_64 : Apache HTTP Server
Repo        : installed
Matched from:
Other       : Provides-match: /usr/sbin/httpd





'IA > System Admin' 카테고리의 다른 글

[v6] 원격 파일전송  (0) 2011.05.31
[v6] Third-party 소프트웨어의 관리  (0) 2011.05.31
[v6] Redhat Network 등록  (0) 2011.05.31
[v6] 메일로 로그 보내기  (0) 2011.05.31
[v6] 시스템 리소스 관리(log관리)  (0) 2011.05.31
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함