Sunday, September 16, 2012

install eclipse

http://askubuntu.com/questions/26632/how-to-install-eclipse

  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]
    Name=Eclipse 
    Type=Application
    Exec=/opt/eclipse/eclipse
    Terminal=false
    Icon=/opt/eclipse/icon.xpm
    Comment=Integrated Development Environment
    NoDisplay=false
    Categories=Development;IDE
    Name[en]=eclipse.desktop
    
  5. Create a symlink in /usr/local/bin using
     # cd /usr/local/bin
     # ln -s /opt/eclipse/eclipse
    
That's it.

No comments: