[v6] yum
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