리눅스 rpm 패키지 설치 확인

(Rpm 설치 확인에서 넘어옴)
rpm 설치 확인

1 방법 1: rpm[ | ]

rpm -q 패키지명
rpm -qa | grep 패키지명
[root@zetawiki ~]# rpm -qa php
php-5.3.28-2.w5
[root@zetawiki ~]# rpm -qa | grep php
php-cli-5.3.28-2.w5
php-mbstring-5.3.28-2.w5
php-mcrypt-5.3.28-2.w5
php-pear-1.9.4-1.w5
php-common-5.3.28-2.w5
php-5.3.28-2.w5
php-mysql-5.3.28-2.w5
php-soap-5.3.28-2.w5
php-devel-5.3.28-2.w5
php-pdo-5.3.28-2.w5
php-xml-5.3.28-2.w5

2 방법 2: yum[ | ]

yum list installed 패키지명
yum list installed | grep 패키지명
[root@zetawiki ~]# yum list installed php
... (생략)
Installed Packages
php.x86_64                    5.3.28-2.w5                    installed
[root@zetawiki ~]# yum list installed | grep php
php.x86_64                               5.3.28-2.w5                   installed
php-cli.x86_64                           5.3.28-2.w5                   installed
php-common.x86_64                        5.3.28-2.w5                   installed
php-devel.x86_64                         5.3.28-2.w5                   installed
php-mbstring.x86_64                      5.3.28-2.w5                   installed
php-mcrypt.x86_64                        5.3.28-2.w5                   installed
php-mysql.x86_64                         5.3.28-2.w5                   installed
php-pdo.x86_64                           5.3.28-2.w5                   installed
php-pear.noarch                          1:1.9.4-1.w5                  installed
php-soap.x86_64                          5.3.28-2.w5                   installed
php-xml.x86_64                           5.3.28-2.w5                   installed

3 같이 보기[ | ]

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