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 just downloaded Eclipse, and it is packaged as a compressed file. Within is a folder with the application plus configuration and any plugins et cetera. Should I simply put this in my /usr/bin folder? Is the bin path recursive, so that it will execute eclipse/eclipse when I simply write eclipse? All other files in there are simply that - single binaries, and no config-files or such.

Another possibility that occured to me is place the application in a separate folder, create a bash script that simply starts the application in the bin folder. But what folder would be good? I don't really want to contaminate my home folder with machine-wide applications...

You might call me pedantic, but that is because I am. I just want to know what the "convention" is so to speak.

share|improve this question
When installing things manually, one usually does that to /usr/local/bin. – oKtosiTe Jan 22 '11 at 10:38
@oKtosiTe Well, alright, good catch. But the same issues still apply... If I just chuck the whole folder in there, won't I get conflicts with the files in the eclipse folder which either are bin-files but not once I want registered globally or that are not but might cause conflicts? – Max Jan 22 '11 at 10:41
up vote 0 down vote accepted

Going for the packaged version that is installed from the repositories is a good default strategy. If you need a bleeding edge version that's not packaged yet, you have a couple of options:

  • build a package yourself
  • install eclipse into your home directory, you can do it with regular user privileges and keep your system clean
share|improve this answer

Not a real answer to your question, since you asked for the proper way to manually install - but I'd recommend installing it via the package manager. Just install the package eclipse from Synaptic/Aptidude, and you don't have to worry about anything.

share|improve this answer
Thanks for you answer! Apt is a very handy tool, but atleast a few days ago the eclipse repository was outdated, atleast one version behind. Perhaps its fixed now, but still, I'd like to know the best way to manually install since most applications is a version or few behind the latest stable. – Max Jan 22 '11 at 10:32
It's particularly handy because you don't have to worry about dependencies. Anyway: It needs to go to ~/opt. Here are detailed instructions from Ubuntu: Eclipse – Tobias Plutat Jan 22 '11 at 10:51

You must log in to answer this question.

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