where is stdio.h ?!!

Santanu Chatterjee thisissantanu at gmail.com
Mon Feb 13 07:56:44 UTC 2006


On 2/11/06, David M. Carney <carney1979 at gmail.com> wrote:

> When I'm missing a file, I use apt-file to find what package it's in.
>
> First, install apt-file with:
>
> sudo apt-get install apt-file
>
> then:
>
> sudo apt-file update
>
> Now you're ready to find what package(s) stdio.h (or any other files)
> are contained in.
>
> As a normal user, you can do this:
>
> apt-file search -l stdio.h
>
> ...and you will get this return:
>
> avr-libc
> cmix
> dietlibc-dev
> ecos
...
<snip>
...
> This return is kinda large, but you would probably figure out that you
> need the libc6-dev package from it.
>
> The nice part about the -l (lowercase L) is it makes apt-file return
> just the package names. Try it with just "apt-file search <packagename>"
> sometime and you'll see what I mean!

Thanks for the tip. Never tried apt-file before. I guess now
I will use it quite often.

Regards,
Santanu




More information about the ubuntu-users mailing list