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 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
1  
Answers to this question may give you further ideas. –  Takkat Feb 2 '12 at 9:12
add comment

2 Answers

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
    
add comment

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
add comment

Your Answer

 
discard

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.