Am 24.11.2014 um 17:28 schrieb Johnny Hughes <johnny at centos.org>: > On 11/24/2014 09:52 AM, Leon Fauster wrote: >> Am 24.11.2014 um 13:35 schrieb Johnny Hughes <johnny at centos.org>: >>> >>> What you need to do after install if you want x86_64 only is this: >>> >>> 1. Modify .rpmmacros for root user and any user you want to see the >>> arch of packages with this value (in a .rpmmacros in the user's home >>> directory): >>> >>> %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} >>> >>> 2. Do this query (after you adjust .rpmmacros per step one) to see any >>> 32 bit packages installed: >>> >>> rpm -qa | grep i[3,6]86 | sort >>> >>> 3. If you are sure you want to remove all the 32 packages, you would do: >>> >>> yum remove $(rpm -qa | grep i[3,6]86) >> >> >> AFAIK: >> >> yum remove glibc.i686 >> >> would be enough :-) >> >> >>> 4. Then edit /etc/yum.conf and add this line to set "multilib_policy" to >>> "best": >>> >>> multilib_policy=best >> >> >> or >> >> exclude = *.i?86 >> >> if such packages are generally not welcome. > > well, the difference is that you can have SOME but not all using the > "multilib_policy". > > You can install a couple of i686 packages because you want them and not > get all multilib packages. > > But whatever approach one wants is fine. sure. BTW - some x86_64 package files get "touched" by un/installing the corresponding i?86 packages. I usually reinstall the x86_64 package after removing the i?86 package if rpm -V %{NAME} shows such "differences" - for example timestamp mismatch. -- LF