[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: view package contents w/o installing




On Thu, 20 Sep 2001, Walter Tautz wrote:

> 
> 
> On Wed, 19 Sep 2001, Brian Potkin wrote:
> 
> > On Wed, Sep 19, 2001 at 11:27:36AM -0500, DvB wrote:
> > 
> > > Is there any way to see what files are in a package without having to
> > > install it first? 
> > > 
> > > I can't find this functionality on packages.debian.org and, IMHO, it
> > > would be useful if it were present. Would it be that hard to implement
> > > this?
> > 
> > dpkg-deb manipulates package archives.  It comes with dpkg so should
> > already be on your system.  Do `man dpkg-deb' and look in particular at
> > the -c switch.
> > 
> > Midnight Commander will also do what you want.  Select the .deb file and
> > press <return>.
> > 
> > Brian. 
> > 
> You could also run ar t <file>.deb on any unix system that has `ar' command.
> If you want to extract the files do ar x <file>.deb.
> 
> -walter
> 
> 
You can also use apt-cache, 
ex. "apt-cache show lilo" to show the content
of lilo package



Reply to: