質問するログイン新規登録

回答編集履歴

1

rpmの確認方法に -i オプションを追加。

2015/11/19 05:34

投稿

Umeeeh
Umeeeh

スコア1495

answer CHANGED
@@ -11,9 +11,23 @@
11
11
  /usr/sbin/httpd
12
12
  ```
13
13
 
14
- rpm -qf で実行コマンドを含むRPMパッケージがわかります
14
+ rpm -qif で実行コマンドを含むRPMパッケージがわかります
15
15
 
16
16
  ```
17
- $ rpm -qf /usr/sbin/httpd
17
+ $ rpm -qif /usr/sbin/httpd
18
+ Name : httpd Relocations: (not relocatable)
19
+ Version : 2.2.15 Vendor: Red Hat, Inc.
20
+ Release : 47.el6_7 Build Date: 2015年08月18日 15時01分30秒
21
+ Install Date: 2015年09月01日 16時50分06秒 Build Host: x86-029.build.eng.bos.redhat.com
22
+ Group : System Environment/Daemons Source RPM: httpd-2.2.15-47.el6_7.src.rpm
23
+ Size : 3086085 License: ASL 2.0
24
+ Signature : RSA/8, 2015年08月21日 01時13分28秒, Key ID 199e2f91fd431d51
25
+ Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
26
+ URL : http://httpd.apache.org/
18
- httpd-2.2.15-47.el6_7.x86_64
27
+ Summary : Apache HTTP Server
28
+ Description :
29
+ The Apache HTTP Server is a powerful, efficient, and extensible
30
+ web server.
19
- ```
31
+ ```
32
+
33
+