|
沙发
楼主 |
发表于 2008-12-13 20:38:51
|
只看该作者
RPM 查询
1、已安装查询rpm -qf filename //查询文件对应的RPM包 rpm -qi package_name //查询包的信息 rpm -ql package_name //查询包中包含的文件
未安装查询:
rpm -qip Adobe-reader-8.1.4.rpm //查看包的详细信息
如下示例:
beyes@linux-beyes:~/Download> rpm -qip Adobe-reader-8.1.4.rpm
Name : AdobeReader_enu Relocations: /opt
Version : 8.1.3 Vendor: Adobe Systems, Incorporated
Release : 1 Build Date: 2008年10月08日 星期三 12时31分00秒
Install Date: (not installed) Build Host: acrolinux15.corp.adobe.com
Group : Applications/Publishing Source RPM: AdobeReader_enu-8.1.3-1.src.rpm
Size : 120979285 License: Commercial
Signature : (none)
Packager : Adobe Systems, Incorporated
URL : http://www.adobe.com
Summary : Adobe Reader for Linux. An application that can view, navigate and print PDF documents.
Description :
AdobeReader allows you to view navigate and print PDF files. This versionadds advanced forms support (save), better integration with AdobeAcrobat workflows, customizable toolbars and better overall performance.
Distribution: (none) |
rpm -qlp Adobe-reader-8.1.4.rpm
查看包中包含了哪些文件 |
|