If you want to keep a pure 64-bit system, it is easy to install a 32-bit software package on 64-bit CentOS. add a line to conf to filter out i386, and then the i686 software package will be ready. the method is as follows:
| The code is as follows: |
Copy code |
# Vi/etc/yum. conf
[Main] ... Exclude = *. I? 86 Or Echo exclude = *. I? 86>/etc/yum. conf |
Of course, you can ensure that the 32-bit rpm package can be installed in the future. What should I do if the 32-bit rpm package has been installed in the past? In fact, you can still delete it using yum:
| The code is as follows: |
Copy code |
# Yum remove *. I? 86
Loaded plugins: downloadonly, rhnplugin, security ... Setting up Remove Process Is this OK [y/N]: y ... Running Transaction Erasing: nss ... Erasing: openssl Removed: GConf2.i386. 14.0-9. el5 ... Zlib-devel.i386. 2.3-3 Complete! |
You can see that the 32-bit rpm package has been uninstalled.