Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I cloned hulahop via git and I'd like to use it and try to run this example.

I have a problem to find out how to build and install it. I also tried to install it with apt-get but I don't have this package available.

[Xubuntu 10.04]

share|improve this question

1 Answer 1

up vote 3 down vote accepted

(First things first: I have never used nor installed hulahop, what follows is generic, based on glancing over the source tree.)

To get this straight, there are basically two ways to install something in a Debian(-derived) distribution:

  1. the clean way: via a .deb package and some tool like apt-get, aptitude, dpkg, you can build them yourself or semi-self by using tools like checkinstall (for example, there are probably others); this enables you to use your distribution's tools to remove them and you're thus save from cluttering up your system, what is the danger of...
  2. the manual way, i.e., using whatever is provided in the sources to compile and install it yourself. The important part is choosing where to install it to, usually called "prefix". (A prefix of /usr/local or $HOME or $HOME/.local can be used to separate manually installed packages from the distribution's packages.*)

So, given you chose (2.), you have to look at the cloned sources, where you'll find:

  •, a three-line shell script that calls autoreconf, part of the GNU build system, which if run successfully (i.e., you have the necessary build tools, e.g. autotools or build-essenstial packages, not sure about these) creates a configure script. The script then calls ./configure "$@", i.e., it creates a Makefile tailored to your system that is used to compile the sources, in the classical ./configure && make && make install way). If you want to change the prefix, pass --prefix=/the/prefix/you/want to configure (or to since it passes the argument to configure, via $@) -- this is the manual way
  • a debian/ folder, that contains what is needed to create a .deb package -- the clean way! When you find this in sources, it can be worthwhile to check if someone already built a deb package, since it's strong evidence for this. Googling "hulahop debian" reveals a Debian package and an Ubuntu package sugar-hulahop. You could use these or if you still prefer to install the newest sources, you could try (again) what was told you here and ask a question including a specific error if it fails.

(* If you chose a prefix, be sure to tell every involved party, i.e., adjust $PATH if you want your shell to know where to find an executable, do whatever is needed for python to know where to import something from, etc.)

share|improve this answer
I have chosen the way, but sh has problem with libxul package and my apt-get has problem to install it no installation candidate. –  xralf Nov 19 '11 at 13:01
I don't know Ubuntu's apt-iness, but if there's an apt-cache (there probably is) apt-cache search libxul should tell you some packages that might be the libxul you need. Try libxul-dev, it should install the needed binary lib, too, and the dev package is what you need to build something using it. –  sr_ Nov 19 '11 at 13:07
I have already tried it but can't figure out which file to download and install. 1) I can't see install files for my Ubuntu version 2) I can't see any download links of deb files. –  xralf Nov 19 '11 at 13:22
Sorry, I probably wasn't clear. Try apt-get install libxul-dev and on success try again. Repeat with other missing dependencies, using apt-cache search libwhatever to find the packages in your distribution's repository that might be the dependencies. (You can also try apt-get build-dep sugar-hulahop to install all build dependencies of the .deb package.) –  sr_ Nov 19 '11 at 13:59
Other clean way is easy-install or pip –  Eir Nym Nov 19 '11 at 14:33

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.