回答編集履歴

1

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

2015/11/19 05:34

投稿

take88
take88

スコア1351

test CHANGED
@@ -24,14 +24,44 @@
24
24
 
25
25
 
26
26
 
27
- rpm -qf で実行コマンドを含むRPMパッケージがわかります
27
+ rpm -qif で実行コマンドを含むRPMパッケージがわかります
28
28
 
29
29
 
30
30
 
31
31
  ```
32
32
 
33
- $ rpm -qf /usr/sbin/httpd
33
+ $ rpm -qif /usr/sbin/httpd
34
34
 
35
+ Name : httpd Relocations: (not relocatable)
36
+
37
+ Version : 2.2.15 Vendor: Red Hat, Inc.
38
+
39
+ Release : 47.el6_7 Build Date: 2015年08月18日 15時01分30秒
40
+
41
+ Install Date: 2015年09月01日 16時50分06秒 Build Host: x86-029.build.eng.bos.redhat.com
42
+
43
+ Group : System Environment/Daemons Source RPM: httpd-2.2.15-47.el6_7.src.rpm
44
+
45
+ Size : 3086085 License: ASL 2.0
46
+
47
+ Signature : RSA/8, 2015年08月21日 01時13分28秒, Key ID 199e2f91fd431d51
48
+
49
+ Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
50
+
51
+ URL : http://httpd.apache.org/
52
+
35
- httpd-2.2.15-47.el6_7.x86_64
53
+ Summary : Apache HTTP Server
54
+
55
+ Description :
56
+
57
+ The Apache HTTP Server is a powerful, efficient, and extensible
58
+
59
+ web server.
36
60
 
37
61
  ```
62
+
63
+
64
+
65
+
66
+
67
+