Ubuntu – Organizing software – where in the filesystem

filesystem

I guess it's also a matter of personal taste, but since I'm starting with a fresh 10.10 install I thought maybe this time I'll keep my system more organized.

What is/are the conventional place(s) to store software and applications?

I have some stuff I get using git (e.g. bioperl), there are some apps I simply download and extract to some place (e.g. eclipse) and obviously I install software using apt-get.

Where is the conventional place to put all of these?

Best Answer

For software installed via package management you do not need to care where it is installed, you will only manage it with some package management software like apt-get, aptitude or synaptic anyway.

The usual places are, as already mentioned by txwikinger, /opt and /usr/local. I would generally put software that I compile myself into /usr/local, as that has the usual directory structure (bin, lib, ...) already in place. Big software that expects a directory of its own I install into /opt, I think that is the original intent of that folder.

I'm also using a folder for small, self-contained applications in my home folder for some apps, mainly because my home folder is on a seperate partition that I keep when reinstalling the system. So I don't have to install those applications again.