http://askubuntu.com/questions/26632/how-to-install-eclipse
![](http://engine.adzerk.net/i.gif?e=eyJhdiI6NDE0LCJhdCI6NCwiYnQiOjAsImNtIjo5NTU2MCwiY2giOjE2NTMxLCJjciI6MjY2NTYzLCJkaSI6IjUwYmUzNDgwNzZkMjQwY2FhZTJmMTA5MWVmMzljNDZjIiwiZG0iOjEsImZjIjozMzA5MjAsImZsIjoxNzE3NDEsImlwIjoiMTI1LjM1LjYyLjY2Iiwia3ciOiJwcGEsZWNsaXBzZSxzb2Z0d2FyZS1pbnN0YWxsYXRpb24seC1jb21tdW5pdHkseC1ob3N0LWFza3VidW50dS5jb20iLCJudyI6MjIsInBjIjowLCJwciI6NTcyMjIsInJ0IjoxLCJzdCI6NTY3NDksInVrIjoidWUxLWM3NzQzM2MxYTI3NzQ2NmVhMTdiYzI1ZGJjZWExZGI1Iiwiem4iOjI5LCJ0cyI6MTQyNTAwNDEyNDYxNywiYmYiOnRydWUsInBuIjoiYWR6ZXJrNzAwMDE0NjQzIn0&s=F9Ei_xzpk6wqNNhyJOzNiAYODog)
113 103 | I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. | ||||||||||||
|
12 Answers
155accepted | If you've downloaded Eclipse from their official website, follow these steps for the installation.
That's it. | ||||||||||||||||||||
|
![](http://engine.adzerk.net/i.gif?e=eyJhdiI6NDE0LCJhdCI6NCwiYnQiOjAsImNtIjo5NTU2MCwiY2giOjE2NTMxLCJjciI6MjY2NTYzLCJkaSI6IjliNWVlNGNjMzc3OTQ1OGI4NDEyNjYzMGYwN2IyY2RmIiwiZG0iOjEsImZjIjozMzA5MjAsImZsIjoxNzE3NDEsImlwIjoiMTI1LjM1LjYyLjY2Iiwia3ciOiJwcGEsZWNsaXBzZSxzb2Z0d2FyZS1pbnN0YWxsYXRpb24seC1jb21tdW5pdHkseC1ob3N0LWFza3VidW50dS5jb20iLCJudyI6MjIsInBjIjowLCJwciI6NTcyMjIsInJ0IjoxLCJzdCI6NTY3NDksInVrIjoidWUxLWM3NzQzM2MxYTI3NzQ2NmVhMTdiYzI1ZGJjZWExZGI1Iiwiem4iOjMwLCJ0cyI6MTQyNTAwNDEyNDYxOCwiYmYiOnRydWUsInBuIjoiYWR6ZXJrMTU0MTUxMjY3OCJ9&s=eqXecSz5XsRNNQCqYIeXeqNR7eo)
35 +250 | 12.04 LTSThe preferred method: Open Software Center -In Ubuntu software center select Eclipse I installed the Extensible Tool Paltform and Java IDE as well, but installing that is optional.![]() Alternative options:The next most preferred method PPA:As of this moment, the eclipse-team PPA has no eclipse package for 12.04.I'll update the answer as things develop.When it becomes available, if you already installed via software center- sudo add-apt-repository ppa:eclipse-team/ppa && sudo apt-get update && sudo apt-get upgrade The least preferred method Portable:For a portable installation you can still download directly from the . This gives you the ability to customize several Eclipse installations for different languages CDT, Java, and PyDev or Aptana for instance. It doesn't allow automatic updates. Installing through Software Center is always the preferred method.I tested the portable 3.7.1 and 3.7.2 tarballs and they work just fine on 12.04 LTS. An added disadvantage to portable installs is that you have to update your launcher if you move the folder or launch it directly. | ||||||||||||||||||||
|
29 | How to install Eclipse 4.2 on Ubuntu 12.04 Since the Eclipse packages in the Ubuntu repositories are out of date, if we want to install latest releases, we are going to have to do it manually. You can just download the tar.gz file from .
| ||||||||||||||||||||
|
15 | I recommend you to download directly from the . the installation process very easy, just extract the files tar.gz, to remove it is also quite easy, simply by deleting the eclipse folder :D | ||
|
11 | From your desktop, Click on the Ubuntu Software Center Once it opens do a search for Eclipse When the search is done, you will see Eclipse listed. all you have to do is click on install, sit back and relax until the installation is done. If you still have any questions, do not hesitate to ask. | ||||
|
8 | This is the instructions copied from How to install Eclipse IDE platform on Ubuntu 12.04 LTS Precise Pangolin1) Open a terminal and enter the command sudo apt-get install eclipse-platform 2) After Eclipse is installed you can install development plugins based on your needs, e.g.: will install Java Development Tools (JDT) package for Eclipse sudo apt-get install eclipse-jdt will install C/C++ development tools packages for Eclipse sudo apt-get install eclipse-cdt | |||
|
5 | Always download the packaged eclipse from their website. Its best for you to place the So if you end up upgrading in the future, all your shortcuts and links wont die. This is the preferred setup for eclipse. IMO | ||
|
3 | I created this little script to install on a bunch of Cinnamon machines. You might have to change specific stuff for your needs but you can use this as a template for your own. #!/usr/bin/env bashwget -P /tmp/ http://eclipse.mirror.triple-it.nl/technology/epp/downloads/release/kepler/SR1/eclipse-standard-kepler-SR1-linux-gtk-x86_64.tar.gztar -xzf /tmp/eclipse-standard-kepler-SR1-linux-gtk-x86_64.tar.gz -C /opt/chown -R root: /opt/eclipse/cat <<- 'EOF' > /usr/bin/eclipse42 #!/bin/sh export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse "$@"EOFchmod +x /usr/bin/eclipse42cat <<- EOF > /usr/share/applications/eclipse42.desktop [Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse42 Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development;IDE; StartupNotify=trueEOF You can now run Kepler by typing Feel free to comment changes you'd recommend. | ||
|
1 | If you are asking about the eclipse classic the latest version from the eclipse project is 3.7.2: and you you can download the tar ball from the website for your OS here: The latest version in the Ubuntu Software Center is Eclipse 3.7.1; either download it from there or use the terminal with this command line: " sudo apt-get install eclipse && sudo apt-get update " As far as a PPA? There appears to be no current or maintained PPA for eclipse classic. The PPA page at LaunchPad still exists but there has not been any activity for what appears to be two years now. You can check out the PPA page here: The best way to install eclipse classic and the latest version 3.7.2 is from the Eclipse Classic project download page for your OS version. Warning: Eclipse 3.7.2 is built and developed for Ubuntu 10.04 LTS according to the Eclipse Project "Read Me" html documentation. There have been known "will not start issues" with later Ubuntu versions due to the compatibility of Java Runtime Enviroments; it works with JRE6 rather than JRE7. Good Luck :) | ||
|
1 | As with any other Eclipse version, you don't have to get it from the repositories. Just download the appropriate archive from , extract and run Eclipse. Eclipse in the repositories is often outdated. It is usually updated every ubuntu release. | ||
|
1 | mkdir ~/opt Change directory to the folder where your browser downloaded the Eclipse package to. Then unpack Eclipse into the cd {directory where your browser downloaded the package to}tar -zxvf eclipse-jee-juno-SR1-linux-gtk.tar.gz && mv eclipse ~/opt Make a mkdir ~/bin Next create an executable for Eclipe at export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"export ECLIPSE_HOME="$HOME/opt/eclipse"$ECLIPSE_HOME/eclipse $* Finally, allow the script to be executed: chmod +x ~/bin/eclipse HINT: If you are a gtk user and experience problems with the mouse buttons you should try add an export: export GDK_NATIVE_WINDOWS=true to the starter file. You can now execute that file to start up Eclipse. | |||
|
1 | If you have already installed eclipse from the software center, there is an easier way. If you haven't, do that first.cd ~/Downloads # (or wherever your tar.gz is)sudo tar -xf eclipse.*.tar.gz '/opt'sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse Note: much of this process is just tweaked from the top answer to be easier. |