Home > terminal > How to install most recent version of Eclipse via the Terminal

How to install most recent version of Eclipse via the Terminal

June 19Hits:0

I'm new to Linux and have just been given a VM of Oracle Linux to work with. I need to install Eclipse on it and, after a bit of research, discovered that this could most easily be done with the following command in the Terminal:

sudo yum install eclipse 

However, I noticed that this installed Eclipse 3.6.1 (Helios), rather than the more recent Eclipse 4.3.2 (Kepler). I realize that I can just go to the Eclipse website and download the most recent installation, but I'd like to know how to do this from the command line (as an educational experience, plus if I have to do this again I'd like a quick and simple way to do it). How can I install the most recent version, or any particular version, of Eclipse via the Terminal?


Distro repositories don't necessarily contain the latest version of something -- that depends on the distro policy.

Your best bet in this case, since it is drop dead simple, is to just install an Eclipse from the website. Doing this means you have to resolve any prerequisites yourself, but again it is pretty simple in this case: you just need a JRE (or, presuming you are using this for java programming, a JDK).

Beware that installing eclipse this way doesn't put the executable in $PATH, but it's inside the top level of the archive download. Unpack that where ever you want -- e.g., /opt/eclipse and:

ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse

It can figure out where it actually is this way and use whatever other resources it needs from the archive. You could use $HOME/bin as the second path if you prefer there (presuming that's in $PATH). Don't use a path normally used by the distro installer, such as /bin or /usr/bin.

Take a look at this wiki on the eclipse website, regarding the use of git to clone packages to your local system. For example, execute the following to clone the C-Development-Toolkit:

git clone git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git

You could also try to find a way to get it with wget; regardless, keep in mind that you should have a working java development toolkit.

Furthermore, you could create a eclipse.repo file in /etc/yum.repos.d/ as per this example with the EclipseSCADA project. For a general Eclipse environment, maybe try to include the following in that file:

name=Eclipse Kepler repo

In Fedora22, dnf provides an option for copr, Fedora's third-party repository system, which makes it much easier for users to install packages not available in the distribution repos.

    $ dnf copr
    Mini usage:

  enable name/project [chroot]
  disable name/project
  list name
  search project

  copr enable rhscl/perl516 epel-6-x86_64
  copr enable ignatenkobrain/ocltoys
  copr disable rhscl/perl516
  copr list ignatenkobrain
  copr search tests

Then, to search for eclipse, do:

dnf copr search eclipse
mbooth/eclipse-luna : This repository provides Eclipse Luna (4.4) for Fedora 20.
                : Fedora 20 ships with Eclipse Kepler (4.3) so this repository provides builds of Eclipse Luna for those who want the very latest Eclipse on a stable Fedora release.
                : If you have problems, please contact me directly via email ([email protected]) or IRC (mbooth on Freenode channels #fedora-devel #fedora-java and #fedora-uk)

Finally, as per the example, enable the name/project and install

dnf copr enable mbooth/eclipse-luna

Notice At the time of writing this, the repo is set-up for fedora20 and fedora21; so, the user might have to make some changes to the baseurl in /etc/yum.repos.d/_copr_... file until the maintainer sorts it out.

Related Articles

  • How to install most recent version of Eclipse via the TerminalJune 19

    I'm new to Linux and have just been given a VM of Oracle Linux to work with. I need to install Eclipse on it and, after a bit of research, discovered that this could most easily be done with the following command in the Terminal: sudo yum install ecl

  • How can I install more recent versions of software than what Debian provides?February 2

    Suppose I want a more recent version of software than is available for my current version of an operating system, what can I do? Cases to consider: There are semiofficial/official sources of additional packages available for that version of the OS. E

  • Can't install (most recent version of) Internet Explorer

    Can't install (most recent version of) Internet ExplorerMay 25

    My Internet Explorer crashes at startup. I tried to install the latest version (IE11 for Windows7) but then I get the puzzling message I have a version more recent than the current version installed???? Microsoft also doesn't seem to let me uninstall

  • How to install the new version of "PokerTH" game via terminal?January 21

    I was trying to install "PokerTH" with Ubuntu software center but it installed an older version of the game. When I ran the game it told me that I must install the newest version of game to play this game online. How can I install the newest ver

  • How to install a complete version of Eclipse?March 9

    I am looking into installing Eclipse but I'm having a slight difficulty. Unlike Visual Studio eclipse needs some very odd addons and things that are on their website. Is there just a complete version where I can get everything immediately? I don't wa

  • How does one get a recent version of git installed on an ec2 instance?June 1

    I can't for the life of me figure out how to get yum to install a recent version of git on an ec2 instance. yum install git installs, which is not recent enough. Surely there's some 1.8.x package out there someplace so I don't have to attempt

  • Debian - newest version of EclipseMarch 23

    I use Debian Jessie (testing) and I have Eclipse 3.8. Newest version of Eclipse is 4.4. In Debian Sid (unstable) I have still Eclipse 3.8. How can I install newest version of Eclipse on this museum of software? ;) --------------Solutions-------------

  • How to tell apt-get to install another version of Eclipse?February 17

    apt-get installs Eclipse version 3.5 when I do this: sudo apt-get install eclipse-platform However I would like to install version 3.6. How can I do that? --------------Solutions------------- Eclipse 3.5 is the latest version in repositories.apt-get

  • Why do the installed and most recent version numbers of Gwibber differ?May 18

    My apologies if this has been asked before, but I noticed that on Gwibber's website, they list 2.30 as the most recent version of Gwibber. Yet when I open Gwibber in Natty, it lists the version installed as Is this an Ubuntu specific version

  • Installing the most recent version of the Z shellDecember 17

    The latest release version of zsh is 4.3.14. I was wondering what is the easiest way to install it on Ubuntu. Is there a PPA for it? Also, is there a site that lists or collects Ubuntu PPA's for generic packages? --------------Solutions-------------

  • How to install and keep updated most recent versions of blender in ubuntu February 10

    This question already has an answer here: How to install Blender from the official website 4 answers Blender is a perfect piece of software with many brillian changes in each minor release. But often most recent versions of ubuntu does not have lates

  • Install a more recent version of git on a LTSAugust 15

    I can't upgrade my lucid lynx 10.04 LTS because newer distributions of ubuntu don't work on that computer. I need to install a git version 1.7.10 for credential management. Git version is on 10.04 LTS: $ dpkg -l *git* +++-==============-=====

  • Ubuntu Repositories lack most recent versions of softwareSeptember 7

    Sometimes I try to use a feature of some software, only to find that I'm running an old version where the feature hasn't yet been implemented. For example, I've just tried using the -deskew option to ImageMagick. It turns out that my software reposit

  • How do I install the latest version of packages in Ubuntu?January 13

    For example I want to install the latest version of "numpy". I type the following: "sudo apt-get install python-numpy". When I type this the first time it installs something and if I type this the second time it writes that I have alre

  • Proper way to install newer VirtualBox version?June 20

    If currently my Win7 PC has VirtualBox 3.12 and I want to update it to 3.18 what is the proper way to install the new version? 1) Should I just install the new version over the previous version? OR 2) Should I go to the control panel, uninstall the o

  • How to Install Flash Debug Version for Google Chrome?August 1

    I installed Flash debug version (10.1) and it works fine with Firefox but it seems that in Google Chrome I have only the regular flash version and not the debug version. Any ideas why? Do I need to install a different flash package specifically for G

  • How to install a current version of TikZ?August 19

    TikZ is undergoing lots of development with new features being added, but the versions distributed with standard TeX releases are often a little old. How do I get the latest version? If I want to be sure that I get the latest stable version, how do I

  • Which is the best way to install new hplip versions?October 28

    Hplip is the software that drives most hp printers. Usually new printers are only supported in newer versions of the software. Canonical doesn't backport new versions packages to older Ubuntu versions, that means that newer drivers are not going to b

  • Is it possible to install precompiled Ruby versions with RVM?October 29

    I'm using EC2 and sometimes launch servers that I want to use only for a short time. Usually I want to install some version or versions of Ruby on them, and for this RVM is very convenient -- if it wasn't for the fact that it takes forever to compile

  • How to install a second version of Audacity?December 2

    I'm running the most recent version of Audacity, 1.3.12. I'd like to install a second version (1.2.6) because there's a filter I'd like access to that only exists in that version. (As I'm only installing it for this reason, my 1.3.12 install needs to

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.649 s.