Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install libx11-dev, by:

sudo apt-get install libx11-dev

Then got the following error;

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libx11-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libx11-dev' has no installation candidate

I have no idea how to deal it, What should I do ?

share|improve this question
That means libx11-dev is a package Used by Major Application. You need to install that application to get this. This cannot be install seldom. Why do you need this ? –  user224082 Nov 15 '13 at 6:55
I am trying to install NS-2 on UBUNTU 13.10, –  user215972 Nov 15 '13 at 11:18

Your Answer


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

Browse other questions tagged or ask your own question.