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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to build HTK using Ubuntu 11.04.

These are the commands I used:

sudo ./configure 
make all

I immediately get the error:

X11/Xlib.h: No such file or directory

So when I try to install libX11-dev by using:

sudo apt-get install libX11-dev

I got the following error:

Unable to locate package libX11-dev

I'd appreciate some help on this.

share|improve this question

That's because the file is named libx11-dev

synaptic would be a good thing to have installed & to use for such activities

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.