Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'd like to install programs without affecting other users on a box. I can imagine a parallel install tree (lib, bin, man, etc.) in my user directory.

Can apt-get do that, or is there another technique that would work?

share|improve this question

1 Answer 1

Easiest way, IMO, is to compile from source.

Just specify a location with 'prefix'

./configure --prefix=/home/your_user/
make install

Often the hardest part of compiling is installing the dependencies.

share|improve this answer
Yes, which is what apt-get is for. So you're saying there is no way with apt-get. Okay. – dfrankow Feb 1 '13 at 23:20
Not with apt-get, but dependencies are not that hard to find. Either find them listed in the README, project home page, or if all else fails, the error messages when you compile (most error messages are dependencies). In Ubuntu most dependencies include a -dev package. – bodhi.zazen Feb 1 '13 at 23:27

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.