Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm a developer and am brand new to Linux (Ubuntu): I'm wondering what the "best practices dictate" for what FHS directories to install various tools to. Things I'll be installing:

  • Eclipse & plugins
  • GlassFish
  • SVN
  • ...etc.

I see that /opt is for holding additional ("optional") software packages, but also see /usr as a place for utils and apps. In another post a user recommended I create an entire partition for /srv alone, and to do my staging there (I assume he meant that /srv is where GlassFish and other servers should go?).

So basically: what FHS directories do Linux developers use for which type of tools?

Thanks for any input here

share|improve this question
What distribution are you using? This will partially affect how and where the files are stored. – Zoot Dec 30 '10 at 15:10
Sorry about that! Ubuntu (64-bit); also edited this in original post – Zac Dec 30 '10 at 15:34
/opt is enough for me, I don't need another srv. Instead, for those standalone packages, I would create subdirectories under /opt and then group them inside. For example /opt/game/foobar or /opt/java/glassfish – Xiè Jìléi Dec 30 '10 at 15:44
Thanks! So, for starters, maybe I create a separate partition for /opt and put all my tools in there, like /opt/java, /opt/eclipse, /opt/svn, etc.? Do you foresee any problems with that setup? – Zac Dec 30 '10 at 15:52

Generally Eclipse, GlassFish, SVN, and any other tools will be installed wherever the maintainer of the packages decided they should go. Different distros have different preferences, but it'll just make your life more difficult if you're not installing things through the package manager.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .