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 have read some article about home partition in Ubuntu but I don't know why it is used widely. Because software I have installed via Ubuntu software center or deb package, they all automatically install into root partition like /opt, /usr or something like that. Anybody can give me some suggestions?

share|improve this question

1 Answer 1

User's home folder is for user's documents, all installed software in a typical Linux distribution goes into /usr and is available to all users.

If you need to install some program into user's home folder (say, to make it available to that user only), the most straight-forward thing would be to download a source tarball and compile it with a custom prefix:

./configure --prefix=/home/jack/myprogram
make
make install

of course, the actual commands to compile will depend on the software you're installing.

However, I have a feeling your desire to install programs in your home folder is guided by some misunderstanding. This is by no means a recommended or normal way to install software.

share|improve this answer

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.