Home  >  Article  >  Database  >  linux操作系统下查看某rpm包是32bit还是x64bit的命令

linux操作系统下查看某rpm包是32bit还是x64bit的命令

WBOY
WBOYOriginal
2016-06-07 16:10:231076browse

[root@hosta ~]# rpm -qa --queryformat %{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n | grep libstdc compat-libstdc-33-3.2.3-61 (x86_64) compat-libstdc-296-2.96-138 (i386) libstdc-4.1.2-48.el5 (i386) compat-libstdc-33-3.2.3-61 (i386) libstdc-4.1.

[root@hosta ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libstdc++
compat-libstdc++-33-3.2.3-61 (x86_64)
compat-libstdc++-296-2.96-138 (i386)
libstdc++-4.1.2-48.el5 (i386)
compat-libstdc++-33-3.2.3-61 (i386)
libstdc++-4.1.2-48.el5 (x86_64)
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn