rpm、yum、编译安装轻松管理centos7程序包(5)
- UID
- 1066743
|
rpm、yum、编译安装轻松管理centos7程序包(5)
4、查询尚未安装的包文件的相关信息
-p
# rpm -qpi PACKAGE_NAME
# rpm -qpi gcc-4.4.7-11.el6.x86_64.rpm
Name : gcc Relocations: (not relocatable)
Version : 4.4.7 Vendor: CentOS
Release : 11.el6 Build Date: 2014年10月15日 星期三 08时24分47秒
Install Date: (not installed) Build Host: c6b9.bsys.dev.centos.org
Group : Development/Languages Source RPM: gcc-4.4.7-11.el6.src.rpm
Size : 19495803 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
Signature : RSA/SHA1, 2014年10月18日 星期六 04时02分58秒, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://gcc.gnu.org
Summary : Various compilers (C, C++, Objective-C, Java, ...)
Description :
The gcc package contains the GNU Compiler Collection version 4.4.
You'll need this package in order to compile C code.
[query-options]:
1、查询某包的简要说明信息:
rpm -qi PACKAGE_NAME
# rpm -qi zsh
Name : zsh Relocations: (not relocatable)
Version : 5.1.1 Vendor: Fedora Project
Release : 3.fc24 Build Date: 2015年11月05日 星期四 21时41分02秒
Install Date: 2015年11月19日 星期四 15时20分55秒 Build Host: buildvm-26.phx2.fedoraproject.org
Group : System Environment/Shells Source RPM: zsh-5.1.1-3.fc24.src.rpm
Size : 6474662 License: MIT
Signature : RSA/8, 2015年11月05日 星期四 21时56分22秒, Key ID 73bde98381b46521
Packager : Fedora Project
URL : http://zsh.sourceforge.net/
Summary : Powerful interactive shell
Description :
The zsh shell is a command interpreter usable as an interactive login
shell and as a shell script command processor. Zsh resembles the ksh
shell (the Korn shell), but includes many enhancements. Zsh supports
command line editing, built-in spelling correction, programmable
command completion, shell functions (with autoloading), a history
mechanism, and more. |
|
|
|
|
|