RPM Commands

Luciano Rocha strange at nsk.no-ip.org
Thu May 8 13:21:35 UTC 2008


On Thu, May 08, 2008 at 02:38:51PM +0200, Robert McBroom (TNWestTex) wrote:
> How do you get yum to accept input from the pipe?

Sorry, my bad. It's like with rpm:
rpm -qa | grep fc4 | xargs yum remove

(i.e., don't forget the xargs)

Another way of using it is: yum remove $(rpm -qa | grep fc4)

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080508/c10c7177/attachment-0001.sig>


More information about the fedora-list mailing list