linux 检查补丁包是否安装 名称 版本 release号


To determine whether the required packages are installed, enter commands similar to the following:

# rpm -q package_name

Alternatively, if you require specific system architecture information, then enter the following command:

# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep package_name


是不是很详细?

posted @ 2017-06-13 22:03  Oracle-fans  阅读(1505)  评论(0编辑  收藏  举报