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

Re: Questions About dpkg and friends



Bob Nielsen wrote:
> 
> On Sun, Oct 15, 2000 at 10:14:07PM -0700, Jeff Hornsberger wrote:
> > Hi, I just moved over from redhat and am wondering about how to do a few
> > things in the debian package management system.
> > 1) If you know the name of a file you need, but not what package it is
> > part of, what's the best way to find out what package you need?
> 
> I don't know of a way to do that (it would be nice, however).

  I think you can do it using dpkg, see man,  but it searches only
packages you have installed, I think (it's probably dpkg -S below),

  I usually use: you can go to debian web page, packages, the last
search there is searching the files and it will show you wehere the
files are...

> > 2) Once you install a package, how can you get a listing of what files
> > in the system belong to that package?
> 
> dpkg -L <packagename>
> 
> > 3) How can you tell what installed package (if any) a particular file in
> > the system belongs to?
> 
> dpkg -S </path/filename>
...

	erik



Reply to: