Linux ETC

yum 사용 팁

2008.09.02 23:13

jook 조회 수:38919

yum search application_name ---> 사용 가능한 application_name을 찾는다
ex) 아래와 같이 search 할 경우 httpd 와 관련 된 패키지 리스트를 모두 찾아 준다.
[root@jook ~]# yum search httpd
Loaded plugins: refresh-packagekit
=========================== Matched: httpd ===================================
mod_ssl.i386 : SSL/TLS module for the Apache HTTP Server
system-config-httpd.noarch : Apache 설정 도구
fedora-ds.i386 : Red Hat Directory, Administration, and Console Suite
httpd.i386 : Apache HTTP 서버
httpd-devel.i386 : Development interfaces for the Apache HTTP server
httpd-manual.i386 : Documentation for the Apache HTTP server
httpd-tools.i386 : Tools for use with the Apache HTTP Server
libapreq2.i386 : Apache HTTP request library
libapreq2-devel.i386 : Development files for libapreq2
lighttpd.i386 : Lightning fast webserver with light system requirements
lighttpd-fastcgi.i386 : FastCGI module and spawning helper for lighttpd and PHP configuration
lighttpd-mod_geoip.i386 : GeoIP module for lighttpd to use for location lookups
lighttpd-mod_mysql_vhost.i386 : Virtual host module for lighttpd that uses a MySQL database
mantis-config-httpd.noarch : Mantis configuration for Apache httpd
mod_bw.i386 : Bandwidth Limiter For Apache
mod_dav_svn.i386 : Apache server module for Subversion server
mod_dnssd.i386 : An Apache HTTPD module which adds Zeroconf support
mogstored-backend-lighttpd.noarch : LigHTTPd backend for mogstored
ocaml-ocamlnet.i386 : Network protocols for OCaml
ocaml-ocamlnet-nethttpd.i386 : Ocamlnet HTTP daemon
ocaml-ocamlnet-nethttpd-devel.i386 : Development files for ocaml-ocamlnet-nethttpd
perl-Apache-Session.noarch : Persistence framework for session data
perl-POE-Component-Server-HTTP.noarch : Foundation of a POE HTTP Daemon
perl-libapreq2.i386 : Perl interface to the Apache HTTP request library
phpldapadmin.noarch : Web-based tool for managing LDAP servers
phpwapmail.noarch : WAP-based e-mail client
tclhttpd.i386 : Extensible Web+Application server written in Tcl
thttpd.i386 : Tiny, turbo, throttleable lightweight http server
[root@jook ~]#

yum list available -> 사용가능한 전체 패키지 리스트를 보여준다
ex) 아래와 같이 입력할 경우 debian 에서 설치 가능한 전체 리스트를 보여준다. more 나 grep 을 이용해서 원하는 패키지를 찾을 수 있다.
[root@jook ~]# yum list available
Loaded plugins: refresh-packagekit
Available Packages
8Kingdoms.i386                           1.1.0-6.fc9            fedora
AGReader.i386                            1.2-5.fc9              fedora
AcetoneISO.i386                          6.7-5.fc9              fedora
AcetoneISO2.i386                         2.0.2-4.fc9            updates
AllegroOGG.i386                          1.0.3-4.fc9            fedora
~ ~ ~ ~

yum info application_name -> 특정 패키지 정보를 보여준다
ex) mysql-devel 패키지의 정보를 출력
[root@jook ~]# yum info mysql-devel
Loaded plugins: refresh-packagekit
Available Packages
Name       : mysql-devel
Arch       : i386
Version    : 5.0.51a
Release    : 1.fc9
Size       : 2.4 M
Repo       : fedora
Summary    : Files for development of MySQL applications
URL        : http://www.mysql.com
License    : GPLv2 with exceptions
Description: MySQL is a multi-user, multi-threaded SQL database server. This package contains the libraries and header files that
           : are needed for developing MySQL client applications.

yum list extras -> 현재 서버에서 업데이트 가능한 패키지, 불필요한 패키지를 보여준다.
ex) 아래의 예에서는 fedora9에 포함되어 있지 않는 lilo 패키지와, update되기 이전의 kernel 패키지를 출력해 주고 있다.
만약 업데이트 가능한 패키지가 있다면, 패키지 명을 출력하게 된다. 업데이느 가능한 패키지는 yum update 를 통해서 설치 가능 하다.
[root@jook ~]# yum list extras
Loaded plugins: refresh-packagekit
Extra Packages
kernel.i686                              2.6.25.11-97.fc9       installed
lilo.i386                                21.4.4-22              installed

yum install application_name -> 패키지 설치.

yum remove application_name -> 패키지 삭제.

yum update -> 시스템 업데이트, 업데이트 가능한 패키지들을 업데이트 한다.

yum check-update -> 업데이트 체크.

번호 제목 글쓴이 날짜 조회 수
226 XFS파일 장점및 단점 호스트웨이 2012.07.06 25480
225 IBM Integrated Management Module 로그인 정보 호스트웨이 2012.07.06 16179
224 ALERT! /dev/disk/xxxx Does not exist. Dropping to a shell 문제 해결 호스트웨이 2012.07.06 17312
223 데비안에서 CPU 온도 확인 해보기-lm_sensors 호스트웨이 2012.07.13 20446
222 리눅스에서 서버 호스트네임 관리 호스트웨이 2012.07.13 21205
221 리눅스에서 Which 명령어로 명령어 경로 확인 호스트웨이 2012.07.13 14959
220 리눅스 runlevel이란? 호스트웨이 2012.07.13 15452
219 리눅스 more 명령어 file 호스트웨이 2012.07.13 16104
218 Rsync를 이용한 데이터 Sync, 백업하기 – 2탄 호스트웨이 2012.07.13 23895
217 가장 안정적인 NTP 서버 주소 호스트웨이 2012.07.20 32124
216 SED 명령어 사용법 호스트웨이 2012.07.20 16955
215 리눅스 ss 명령어 호스트웨이 2012.07.20 23515
214 Vsftpd 파일명 혹은 확장자에 따른 업로드 제한하기 호스트웨이 2012.07.20 18596
213 리눅스 퍼미션(Permission)이란? file 호스트웨이 2012.07.20 15922
212 Linux 미사용 Demon이 실행되지 않게 설정하기 file 호스트웨이 2012.07.20 15565
211 Proftpd – ‘unable to determine IP address’ 에러 발생시 호스트웨이 2012.07.20 16193
210 Yum - Dag Repository 추가 호스트웨이 2012.07.27 19548
209 "The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA" 에러 메시지 발생 시 호스트웨이 2012.07.27 15400
208 Putty 접속 시 창 분할하는 방법(screen 이용) file 호스트웨이 2012.07.27 28510
207 리눅스 부트로더란? 호스트웨이 2012.07.27 17668