Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

When I'm installing libxul-dev I end with this error message:

$ sudo apt-get install libxul-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package libxul-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 libxul-dev has no installation candidate

How can I solve this?


share|improve this question
I used this generator to clean it a little. – xralf Nov 19 '11 at 14:39
up vote 1 down vote accepted

Take the list of files in the libxul-dev in hardy. Look for the package containing, say, libxul.so. In more recent releases, the corresponding package is xulrunner-1.9.2-dev (the version number might change). So, if you have old compilation instructions that mention libxul-dev, try with xulrunner*-dev instead.

share|improve this answer

The libxul-dev package seems to be only available to hardy. Sorry, this was my fault in the other question, I spotted it here but paid too little attention to detail. And the sugar-hulahop package was apparently deleted from the repositories, too.

I don't know any easy way go get these things (hulahop and libxul and maybe further dependencies) on Ubuntu apart from "the manual way". Here someone suggests using Debian's repos, I don't know how feasible that is.

share|improve this answer
I have found this debian package from this page but it has dependency problems. I'm afraid that when I will download deb packages for all dependencies every of them will have another dependencies so it will endless process :-( There is no other way? – xralf Nov 19 '11 at 15:05

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.