Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which package in ubuntu contains the header file X11.h?

Tags:

ubuntu

x11

Which package in ubuntu contains the header file X11.h?

like image 532
codemax Avatar asked Sep 24 '09 05:09

codemax


People also ask

Where are X11 headers?

Header Files for X These files can typically be found in /usr/include/X11. I highly recommend looking though the header files themselves, but don't get caught up on trying to figure out everything at once! The best way to learn them is to continually consult them as you continue to work with X.

Where are header files installed in Ubuntu?

On Debian, Ubuntu and their derivatives, all kernel header files can be found under /usr/src directory.

Where is X11 stored?

Associated configuration files are stored in the /etc/X11/ directory (as is a symbolic link — X — which points to /usr/bin/Xorg). The configuration file for the X server is /etc/X11/xorg. conf. The directory /usr/lib/xorg/modules/ contains X server modules that can be loaded dynamically at runtime.


1 Answers

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?

like image 168
Pascal Thivent Avatar answered Nov 22 '22 05:11

Pascal Thivent