Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 want to use apt or pbuilder to build a package in user's home directory. The home directory has enough space to hold the package's source, its dependencies and binary output. But the apt and pbuilder documents say that you have to be a root user (sudo) to use it.

It's frustrating, as the only way now I have at my disposal is to build the package from source or use the dpkg and in both cases, figure out dependencies manually, create the dir layout manually and install the built things manually. Now if I can do all these things manually, why the tool writers (apt) think that doing so using their tool (apt) is somehow more special/dangerous?

I don't want to use root privileges JUST to build and test a user-land package.

If I am NOT allowed to do anything outside my home dir then why NOT the apt or pbuilder type commands be allowed to "build" something in my home dir without root privileges? I just want to use their functionality.

It seems there is nothing like Gentoo Prefix from Debian

share|improve this question
Isn't this the job of dpkg? – Autumnal Jul 3 '13 at 11:05
Yes, that is the job of dpkg. And sorry about the bad word but I was frustrated. I have edited it now. – Tem Pora Jul 4 '13 at 4:35

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.