Which package has "X11/extensions/Print.h"

Colin Guthrie gmane at colin.guthr.ie
Tue Sep 8 01:26:53 PDT 2009


'Twas brillig, and Peng Yu at 07/09/09 22:04 did gyre and gimble:
> On Mon, Sep 7, 2009 at 1:47 PM, Amit Pundir<pundiramit at gmail.com> wrote:
>> On Mon, Sep 7, 2009 at 10:02 PM, Colin Guthrie<gmane at colin.guthr.ie> wrote:
>>> 'Twas brillig, and Peng Yu at 07/09/09 15:49 did gyre and gimble:
>>>> Is there a way so that I can search what package is missing by
>>>> specifying a missing file without asking in the mailing list?
>>> Depends on your distro... in RH yum search may do it (not sure), in
>>> Mandriva urpmf does this.
>>>
>> In Ubuntu you can try "apt-file search <filename>" it will list out
>> the available packages which contains that file.
>>
>> In your case:
>> $ apt-file search X11/extensions/Print.h
>> x11proto-print-dev: /usr/include/X11/extensions/Print.h
>>
>> So install:
>> $ sudo apt-get install x11proto-print-dev
> 
> I don't have root permission in my system.

That shouldn't stop you searching via the package system (in most cases) 
which in turn would point you to the source file.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the xorg mailing list