[CentOS] yum remove from stdout

Sun Jul 13 16:21:26 UTC 2008
Johnny Hughes <jhughes at hughesjr.com>

Kenneth Burgener wrote:
> On 7/13/2008 8:50 AM, David Hláčik wrote:
>> Hello, little tricky question :
>>  
>> i have a file of packages for removal , which looks like that :
>>  
>> atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound  
>> how to , provide that file to yum, using pipe, or redirect does not work
>>  
>> cat result | yum remove ..
> 
> 
> Try the xargs command:
> 
> cat result | xargs yum remove

OR ...

yum remove `cat result`

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080713/bed933df/attachment-0003.sig>