Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I can't remember what directory this file is found in off hand. Does anybody know?

share|improve this question

3 Answers 3

you can also look in the system using the following command: $ sudo find / -type f -iname input.h; it'll take a while, or $ locate input.h =)

share|improve this answer
Thanks for the advice. I'll try that next time. – jumpnett Oct 21 '10 at 20:42

If you're looking for a header file from a dev package that isn't installed, you can use the search from (the non-official site) . So for example, you can see all the packages that provide input.h in maverick at .

Alternatively, you can use the archive provided contents file in , replacing RELEASE with the release (e.g. lucid, maverick) and ARCH (i386, amd64). Within that, you can search for the specific file and get the package from that.

If you know the file came from a package that's currently installed, you can use 'dpkg -S FILE' to find out what package and where the file is located.

share|improve this answer
up vote 1 down vote accepted

After a more precise google search, I found the answer: /usr/include/linux/input.h

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.