tags:

views:

417

answers:

4

which package in ubuntu has the header file x11.h? thanks in advance

+1  A: 

As far as I can tell you'll need to install libx11-dev.

David Harris
+1  A: 

try x-window-system-dev

Tox'N
A: 

There is no supported package contain this header file

may be there is no header named x11.h at all or you want the x11/Xlib.h header that can be found on ivtools-dev, libx11-dev, tendra [not amd64], libroot5.18 or z88dk-data

sohaibafifi
+1  A: 

Generally, if you look for file in packages you have not installed, use apt-file (sudo apt-get install apt-file if required).

Use it like this:

apt-file update
apt-file search X11/Xlib.h

PS: sorry for this stupid question but are you sure you're looking for x11.h?

Pascal Thivent