Re: Where is /usr/bin/file?
*- On 12 Jun, Greg Starkes wrote about "Where is /usr/bin/file?"
> I downloaded xmms 0.9 last night. make complained about not being able
> to find /usr/bin/file. I used dpkg --search to see what packaged owned
> it, and found nothing. Is this not a part of the debian distribution? I
> noticed that RedHat has it.
>
The --search won't help if you don't have the correct package installed
unfortunately. If you want to find the package that has the file you can
use the search engine "Search the Contents of the Latest Release"
at http://www.debian.org/distrib/packages.html, or download a copy of
the dist/stable/Contents-<$arch>.gz file to your local drive and search
it, omit the leading slash.
% zgrep usr/bin/file Contents-i386.gz
usr/bin/file utils/file
Therefor file is in its own package.
Package: file
Status: install ok installed
Priority: standard
Section: utils
Installed-Size: 233
Maintainer: Nicolás Lichtmaier <nick@debian.org>
Version: 3.26-1
Depends: libc6
Conffiles:
/etc/magic 272913026300e7ae9b5e2d51f138e674
Description: Determines file type using "magic" numbers
File tests each argument in an attempt to classify it. There are three
sets of tests, performed in this order: filesystem tests, magic number
tests, and language tests. The first test that succeeds causes the
file type to be printed.
--
Brian
---------------------------------------------------------------------
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: