Re: Update Info

From: Vic Ayres (v.ayres_at_talk21.com)
Date: 03/01/04


Date: Mon, 01 Mar 2004 08:12:18 +0000

Kevin Nathan wrote:
> On Sun, 29 Feb 2004 15:08:21 +0000
> Vic Ayres <v.ayres@talk21.com> wrote:
>
>
>>Try (in your home directory)
>>~>rpm -qa |sort >installed.txt
>>
>>This will write a sorted list of all installed RPMs to
>>"installed.txt". Then, you can find packages in it with
>>~>grep -i somepackage installed.txt
>>(-i, for case insensitive as some package names have capital letters
>>and some don't.)
>
>
> Just as easy to combine them and skip the intermediate file:
>
> rpm -qa | grep -i somepackage
>
>
True if you're only looking for one package. But, Larry was wanting to
check several packages so the intermediate file saves time by not having
to query the RPMs each time.

-- 
Vic Ayres


Relevant Pages

  • Re: Update Info
    ... Vic Ayres wrote: ... > This will write a sorted list of all installed RPMs to ... for case insensitive as some package names have capital letters ...
    (alt.os.linux.suse)
  • Re: A question for today
    ... > Does any one know what the following installed rpms do since they ... it's safe to remove them. ... package was for... ... Paul. ...
    (Fedora)