[6596] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Find a file in an RPM

daemon@ATHENA.MIT.EDU (Sheldon E. Newhouse)
Thu Nov 28 18:46:02 1996

Date: Thu, 28 Nov 1996 18:45:05 -0500 (EST)
From: "Sheldon E. Newhouse" <sen1@math.msu.edu>
To: redhat-list <redhat-list@redhat.com>
In-Reply-To: <329E1E08@spc.org.nc>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Fri, 29 Nov 1996, Al Blake - SPC wrote:

> This moring I cleaned out a lot of RPM's and then found I had removed   
> /usr/bin.gtbl and /usr/bin/groff , which are needed to format man pages!
> Can anyone tell me which rpm they are in? Better still can anyone tell me   
> how to find a file that is in an uninstalled rpm so you know which one to   
> install?
Go to the directory containing the rpms and type 

rpm -qilp *rpm | grep gtbl

This gives the output of 

/usr/bin/gtbl
/usr/man/man1/gtbl.1

So, you can see if there is an rpm containing this program

Now if you type

rpm -qif  `rpm -qilp *rpm | grep gtbl`

you get 

Name        : groff                       Distribution: Red Hat Linux
(Picasso)
Version     : 1.10                              Vendor: Red Hat Software
Release     : 2                             Build Date: Sun Feb 25
17:56:31 1996
Install date: Mon Apr 01 13:41:14 1996      Build Host: porky.redhat.com
Group       : Applications/Publishing       Source RPM:
groff-1.10-2.src.rpm
Size        : 2893948
Description : GNU groff text formatting package
Name        : groff                       Distribution: Red Hat Linux
(Picasso)
Version     : 1.10                              Vendor: Red Hat Software
Release     : 2                             Build Date: Sun Feb 25
17:56:31 1996
Install date: Mon Apr 01 13:41:14 1996      Build Host: porky.redhat.com
Group       : Applications/Publishing       Source RPM:
groff-1.10-2.src.rpm
Size        : 2893948
Description : GNU groff text formatting package

So, you see the rpm which contains the file /usr/bin/gtbl


-sen

 ---------------------------------------------------------------------------
 | Sheldon E. Newhouse            |    e-mail: sen1@math.msu.edu           |
 | Mathematics Department         |       				   |
 | Michigan State University      | telephone: 517-355-9684                |
 | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
 ---------------------------------------------------------------------------


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post