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

Re: Three short apt/dpkg questions

--- Charlie Zender <zender@uci.edu> wrote:

> Hi,
> 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 file

> 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?

apt-get install apt-file && \
apt-file update && \
apt-file search <whatever>

-- Thomas Adam.

Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

Reply to: