简体   繁体   中英

What is the yum command to install Eclipse Indigo for Java EE developers?

I want to install Eclipse Indigo for Java EE developers in CentOS through yum command.

yum install eclipse ...

What is the exact command?

Download the Eclipse archive from the Eclipse website. Unpack it in a suitable location. The unpacked directory tree includes the executable. It is not packaged using RPM. The RedHat (and other O/S) provided versions are usually very old and do not include the Java EE Eclipse modules.

yum install eclipse-platform

for the latest eclipse version :) If you want JEE you can install the plugin afterwards

Edit: For CentOS 8 you have to enable the eclipse module and install the package:

 dnf module enable eclipse
 dnf install eclipse

Like the others have answered, you need to install it manually if your yum doesn't have it.

This is the guide I used to do this: http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/

I used it with Fedora 17 which supports Eclipse 4.2 (juno) instead of 3.7 (indigo).

To run them side-by-side you can first install the yum version, then rename /bin/eclipse and /usr/share/applications/eclipse.desktop to something you want like eclipse-yum then update eclipse-yum.desktop to reference eclipse-yum

Finally, install it as the guide explains.

CentOS 6 includes Eclipse 3.6.1 (Helios) so it's not possible to install Eclipse 3.7 (Indigo) through Yum.

You can either install it manually like Raedwald explained OR you could use Fedora 16 which ships Indigo.

Since RHEL/CentOS is very conservative regarding software versions, I wouldn't expect Indigo to be supported any time soon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM