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

Re: Aptitude/apt search question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bob Cox wrote:
> I may be missing the blindingly obvious, so apologies if so.
> 
> I wanted to run the 'ip' command and found it wasn't installed on the
> particular box I was using.  As it was installed on another machine I
> was able to:
> 
>    bob@trantor:~$ which ip
>    /bin/ip
> 
>    bob@trantor:~$ dpkg -S ip | grep '/bin/ip$'
>    iproute: /bin/ip
> 
> So I knew I needed the 'iproute' package.  Problem solved.
> 
> However, if I hadn't had it installed on that other machine, how could I
> have discovered which package I needed *without* using the excellent
> package search facility at
> http://www.debian.org/distrib/packages#search_contents - is this sort of
> search possible with aptitude and/or apt-cache etc? 
> 
man apt-file

- --
Eugene V. Lyubimkin aka JackYF
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh/WnIACgkQchorMMFUmYzGUwCcCOeVKQnQA5W341e0nGB00bOg
AwIAoLdQ/dXwm5R4fqZDKnU+WtQM5evp
=PLvn
-----END PGP SIGNATURE-----


Reply to: