본문 바로가기

이미 설치된 패키지 질의

오토씨 2014. 1. 22.
* rpm -qa <패키지 이름> -> 시스템에 패키지가 설치되었는지 확인
* rpm -qf <파일의 절대 경로> -> 이미 설치된 파일이 어느 패키지에 포함된 것인지 확인
* rpm -ql <패키지 이름> -> 특정 패키지에 어떤 파일들이 포함되었는지 확인
* rpm -qi <패키지 이름> -> 설치된 패키지의 상세 정보

# rpm -qa ntp

ntp-4.2.6p5-1.el6.centos.x86_64


# rpm -qf /etc/ntp.conf

ntp-4.2.6p5-1.el6.centos.x86_64


# rpm -ql ntp

/etc/dhcp/dhclient.d

/etc/dhcp/dhclient.d/ntp.sh

/etc/ntp.conf

/etc/ntp/crypto

/etc/ntp/crypto/pw

/etc/rc.d/init.d/ntpd

/etc/sysconfig/ntpd

/usr/bin/ntpstat

/usr/sbin/ntp-keygen

/usr/sbin/ntpd

/usr/sbin/ntpdc

/usr/sbin/ntpq

/usr/sbin/ntptime

/usr/sbin/tickadj

/usr/share/doc/ntp-4.2.6p5

/usr/share/doc/ntp-4.2.6p5/COPYRIGHT

/usr/share/doc/ntp-4.2.6p5/ChangeLog

/usr/share/doc/ntp-4.2.6p5/NEWS

/usr/share/man/man5/ntp.conf.5.gz

/usr/share/man/man5/ntp_acc.5.gz

/usr/share/man/man5/ntp_auth.5.gz

/usr/share/man/man5/ntp_clock.5.gz

/usr/share/man/man5/ntp_decode.5.gz

/usr/share/man/man5/ntp_misc.5.gz

/usr/share/man/man5/ntp_mon.5.gz

/usr/share/man/man8/ntp-keygen.8.gz

/usr/share/man/man8/ntpd.8.gz

/usr/share/man/man8/ntpdc.8.gz

/usr/share/man/man8/ntpq.8.gz

/usr/share/man/man8/ntpstat.8.gz

/usr/share/man/man8/ntptime.8.gz

/usr/share/man/man8/tickadj.8.gz

/var/lib/ntp

/var/lib/ntp/drift

/var/log/ntpstats


# rpm -qi ntp

Name        : ntp                          Relocations: (not relocatable)

Version     : 4.2.6p5                           Vendor: CentOS

Release     : 1.el6.centos                  Build Date: 

Install Date:                                  Build Host: c6b9.bsys.dev.centos.org

Group       : System Environment/Daemons    Source RPM: ntp-4.2.6p5-1.el6.centos.src.rpm

Size        : 1706943                          License: (MIT and BSD and BSD with advertising) and GPLv2

Signature   : RSA/SHA1, 2013년 11월 25일 (월) 오전 04시 32분 50초, Key ID 0946fca2c105b9de

Packager    : CentOS BuildSystem <http://bugs.centos.org>

URL         : http://www.ntp.org

Summary     : The NTP daemon and utilities

Description :

The Network Time Protocol (NTP) is used to synchronize a computer's

time with another reference time source. This package includes ntpd

(a daemon which continuously adjusts system time) and utilities used

to query and configure the ntpd daemon.


Perl scripts ntp-wait and ntptrace are in the ntp-perl package and

the ntpdate program is in the ntpdate package. The documentation is

in the ntp-doc package.

 

'LINUX' 카테고리의 다른 글

SYSTEMTAP  (1) 2014.02.08
nmon for Linux  (1) 2014.01.27
bash shortcuts (단축키)  (4) 2014.01.21
NTP Server, Client 구축  (0) 2014.01.21
[FreeBSD] 프비에서 쉘(SHELL) 변경하기  (0) 2013.10.28

댓글