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

Re: Three short apt/dpkg questions

On 6/16/05, Charlie Zender <zender@uci.edu> wrote:
> 1. Which package contains the man-pages for C-library functions like
> sprintf()?


> 2. Is there a way to ask the system which package owns a specific
> installed file?

$ dpkg -S /usr/share/man/man3/sprintf.3.gz 
manpages-dev: /usr/share/man/man3/sprintf.3.gz

> 3. Is there a way to determine the name of the (non-installed) package
> which owns a particular (non-installed) filename? e.g., which package
> will install the file printf.1.gz?

Look for "Search the contents of packages".

Michael A. Marsh

Reply to: