linux操作系统下查看某rpm包是32bit还是x64bit的命令
程序员文章站
2022-06-08 14:15:17
...
[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)