Re: How to remove packages by arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux