How to remove packages by arch?

Jesus Jr M Salvo jesus.m.salvo at gmail.com
Wed Oct 10 03:03:19 UTC 2007


On 10/10/2007, Peter Gordon <peter at thecodergeek.com> wrote:
> On Tue, 2007-10-09 at 17:09 -0500, John Pierce wrote:
> > Hello, I just installed the 64 bit version of fedora 7 and I would
> > like to be able to get rid of the i386 packages.  I have almost 2 of
> > everything installed, and not just the devel packages.
>
> You can use globbing ("*" and "?") along with the "package_name.arch"
> format to remove all 32-bit packages as follows:
>
> # yum remove '*.i?86'
>
> Note that if you want to install a package in the future, specifying the
> name will default to installing all possible arches, if there is more
> than one. If you do not wish for this to happen, you can use the exclude
> key along with the same glob as above to prevent Yum from installing
> _any_ 32-bit packages in the future by adding "exclude=*.i?86" to
> your /etc/yum.conf file.
>
> Hope that helps.
> --
> Peter Gordon (codergeek42)
> GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
>   DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>


But if you are using nspluginwrapper to run 32-bit plugins ( e.g.:
flash ) in firefox, they may not work anymore. Correct ?

John




More information about the fedora-list mailing list