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

Re: About apt-file



--- Chris Burkhardt <chris@mretc.net> wrote:

> Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Etch
> > 
> > 
> > Reading man apt-file I can't resolve what flag to be up to find a
> > package which provides a named tool/command.
> > 
> > e.g. mysqladmin coming form mysql-server
> 
> apt-file search mysqladmin
> 
> apt-file search `which commandname`
> 
> but that might not be what you're asking for...
> 
> - Chris Burkhardt


Hi Chris,


$ apt-file find mysqladmin
$ apt-file search mysqladmin
$ apt-file list mysqladmin
$ apt-file show mysqladmin

All without output


$ apt-file search `which mysqladmin`
apt-file version 2.0.8.2
(c) 2002 Sebastien J. Gross <sjg@debian.org>


apt-file [options] action [pattern]

Configuration options:
    --sources-list      -s  <file>      sources.list location
    --cache             -c  <dir>       Cache directory
    --architecture      -a  <arch>      Use specific architecture
    --cdrom-mount       -d  <cdrom>     Use specific cdrom mountpoint
    --package-only      -l              Only display packages name
    --fixed-string      -F              Do not expand pattern
    --ignore-case       -i              Ignore case distinctions
    --regexp            -x              pattern is a regular expression
    --verbose           -v              run in verbose mode
    --dummy             -y              run in dummy mode (no action)
    --help              -h              Show this help.
    --version           -V              Show version number

Action:
    update                      Fetch Contents files from apt-sources.
    search|find <pattern>       Search files in packages
    list|show   <pattern>       List files in packages
    purge                       Remove cache files


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


Reply to: