[plug] debian question

Bernard Blackham bernard at blackham.com.au
Sun Nov 16 17:40:23 WST 2003


On Sun, Nov 16, 2003 at 05:34:24PM +0800, James Devenish wrote:
> I'm not sure what -ql does (isn't listed in the man page on a Redhat 9.0
> machine I'm logged into). If you want to see installed packages:
> dpkg -l

And using "COLUMNS=150 dpkg -l" is often more informative when dpkg
decides to trim package names or doesn't realise how large your
terminal really is.

> By file, I assume you mean 'package'.
> 
> If you want to find out which package a file belongs to, you could use:
> dpkg -S <filename>
> To see what files are provided by a package, you could use:
> dpkg -L <packagename>

Also installing and using dlocate speeds things up a lot,
particularly on systems with lots of packages (generally they've
evolved). It works analogously to locate, rebuilding a DB nightly,
so may be deceiving.

Bernard.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list