[plug] RPM

David Griffiths griffith at environ.wa.gov.au
Tue Aug 8 16:47:43 WST 2000


>On Tue, 8 Aug 2000, David Griffiths wrote:
>
>>     rpm -qp --filesbypkg *.rpm |grep <your wanted file>
>
>Needs a '-l', but that still wont tell you which RPM file.
>
>
>--
>Mike Holland  <mike at golden.wattle.id.au>
>                          --==--

No, the '-l' breaks it as you noticed. I meant to write:

"If you're using Red Hat 6.1 or 6.2 try:"
                         ^^^^^^^^^^

haven't tested it under other versions. Should get output looking like:


FileRunner                FileRunner-2.5.tar.gz
FileRunner                FileRunner.spec
FileRunner                filerunner.wmconfig
glut                      /usr/doc/glut-3.6-1
glut                      /usr/doc/glut-3.6-1/CHANGES
glut                      /usr/doc/glut-3.6-1/FAQ.glut
glut                      /usr/doc/glut-3.6-1/Portability.txt

etc without the piped grep.


cheers,

Dave.



 ========================================================================

  David Griffiths                             griffith at environ.wa.gov.au

  Air Quality Management Branch
  Department of Environmental Protection          Phone:   61 8 9222 7151

  Westralia Square                                Fax  :   61 8 9321 5184
  141 St Georges Tce
  Perth 6000
  Western Australia
 ========================================================================





More information about the plug mailing list