Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

When i install eclipse helios in ubuntu

  1. Extract the eclipse.XX.YY.tar.gz using

    tar -zxvf eclipse.XX.YY.tar.gz
  2. Become root.

    sudo su
  3. Copy the extracted folder to /opt

    cp -r eclipse.XX.YY /opt
  4. Create a desktop file and place it into /usr/share/applications

    gedit /usr/share/applications/eclipse.desktop

    and copy the following to the eclipse.desktop file.

    [Desktop Entry]
    Comment=Integrated Development Environment
  5. Create a symlink in /usr/local/bin using

    cd /usr/local/bin
    ln -s /opt/eclipse/eclipse
  6. For eclipse icon to be displayed in dash, eclipse icon can be added as

    cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm

it give below error: bash: /usr/local/bin/eclipse: No such file or directory

share|improve this question
First do ls -ltr /opt/eclipse*/eclipse – thefourtheye May 3 '13 at 12:20

I decompressed the whole eclipse package in my home folder and (Apart from skipping step 2) I added in Step 5 the sudo part:

sudo ln -s /opt/eclipse/eclipse

in my case it looked like this

sudo ln -s /home/cyrex/eclipse/eclipse

that's the only change I did and it worked. Note that my eclipse executable was in my home eclipse folder. eg: /home/cyrex/eclipse.

Also make sure you have the appropriate 32 or 64 bit version.

share|improve this answer
Strange, but I thought he did a 'sudo su' to become root before everything? – owl May 3 '13 at 14:20
@owl I may have jumped over that step lol. Maybe because I just decompressed the whole thing on my home folder. Thanks for pointing it out. – Luis Alvarado May 3 '13 at 14:21

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.