[lug] debian

Hugh Brown hugh at math.byu.edu
Thu Sep 18 19:29:45 MDT 2003


On Thu, 2003-09-18 at 18:02, David Morris wrote:
> On Thu, Sep 18, 2003 at 05:48:18PM -0400, Hugh Brown wrote:
> > 
> > > > Also, where can I find the dpkg equivalents of 
> > > > 
> > > > rpm -qa
> > > > rpm -qi
> > > > rpm -ql
> > > 
> >
> > rpm -qa gives a list by package name of all packages installed.
> 
> dpkg --list
> (or dpkg -l)
> 
> > rpm -qi <package> give info about the package
> 
> dpkg --status <pkg>
> (or dpkg -s <pkg>)
> (<pkg> might be zsh, for instance)
> 
> > rpm -ql <package> gives a listing of the files in a a package.
> 
> dpkg --listfiles <pkg>
> (or dpkg -L)
> 
> > the other one I forgot was
> > 
> > rpm -qf /path/to/file
> >
> > which gives the name of the package that owns that file
> 
> dpkg --search <file/file+path/directory>
> (or dpkg -S)
> 
> 
> Nothing obscure, the options do exactly what you would
> expect them to.
> 
> --David
> 

Thank you.  This will help as package naming is fairly different, but I
can bootstrap starting with dpkg -S

Hugh






More information about the LUG mailing list