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 need to install some programs on a server where I cannot get super user privileges. Is there a flag or some way to get aptitude to install in my bin and lib folders in my home directory instead of for the whole system?

share|improve this question
Answers to this question may give you further ideas. – Takkat Feb 2 '12 at 9:12
up vote 1 down vote accepted

All of these commands must be run as root or with superuser privileges

share|improve this answer
That's depressing for me, but thanks for quick answer :) – danr Feb 2 '12 at 8:46

From my answer to how to create debian package to install files to /home/user on the Unix & Linux SE site:

The whole point of a Debian package is to install system-wide software. Think about it: if multiple users install this package to their respective /home/user/myapp area, what should show up in your package manager?

If you want to install to your home directory, use the original source (eg. tarball) distribution.

share|improve this answer
Well, it would show up different things for different users in the package manager. The package manager cabal-install for Haskell allows user installs and system-wide installs and it works well :) – danr Feb 2 '12 at 11:36

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.