安装rpm包提示is intended for a x86_64 architecture错误,32位系统安装了64位包造成的。
方法一:getconf LONG_BIT如果是32位机器,则结果为32,如果是64位机器,则结果为64。方法二:uname -a如果是64位机器,会输出x86_64,i686一般是32位。 方法三:file /sbin/init 或者 file /bin/ls本文共 243 字,大约阅读时间需要 1 分钟。
安装rpm包提示is intended for a x86_64 architecture错误,32位系统安装了64位包造成的。
方法一:getconf LONG_BIT如果是32位机器,则结果为32,如果是64位机器,则结果为64。方法二:uname -a如果是64位机器,会输出x86_64,i686一般是32位。 方法三:file /sbin/init 或者 file /bin/ls转载于:https://blog.51cto.com/net881004/2166376