为 Java EE 开发人员安装 Eclipse Indigo 的 yum 命令是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9258797/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the yum command to install Eclipse Indigo for Java EE developers?
提问by Do The New
I want to install Eclipse Indigo for Java EE developers in CentOS through yum
command.
我想通过yum
命令在 CentOS 中为 Java EE 开发人员安装 Eclipse Indigo 。
yum install eclipse ...
What is the exact command?
确切的命令是什么?
回答by Raedwald
Download the Eclipse archive from the Eclipse website. Unpack it in a suitable loaction. 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.
从 Eclipse 网站下载 Eclipse 归档文件。在合适的位置打开包装。解压后的目录树包括可执行文件。它不是使用 RPM 打包的。RedHat(和其他 O/S)提供的版本通常很旧,不包括 Java EE Eclipse 模块。
回答by Ben
yum install eclipse-platform
for the latest eclipse version :) If you want JEE you can install the plugin afterwards
对于最新的 Eclipse 版本 :) 如果你想要 JEE,你可以在之后安装插件
回答by Giovanni Tirloni
CentOS 6 includes Eclipse 3.6.1 (Helios) so it's not possible to install Eclipse 3.7 (Indigo) through Yum.
CentOS 6 包含 Eclipse 3.6.1 (Helios),因此无法通过 Yum 安装 Eclipse 3.7 (Indigo)。
You can either install it manually like Raedwald explained OR you could use Fedora 16 which ships Indigo.
您可以像 Raedwald 解释的那样手动安装它,或者您可以使用带有 Indigo 的 Fedora 16。
Since RHEL/CentOS is very conservative regarding software versions, I wouldn't expect Indigo to be supported any time soon.
由于 RHEL/CentOS 在软件版本方面非常保守,我不希望 Indigo 很快得到支持。
回答by Michiel
Like the others have answered, you need to install it manually if your yum doesn't have it.
就像其他人回答的那样,如果您的 yum 没有,您需要手动安装它。
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/
这是我用来做这个的指南: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).
我将它与支持 Eclipse 4.2 (juno) 而不是 3.7 (indigo) 的 Fedora 17 一起使用。
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
要并排运行它们,您可以先安装 yum 版本,然后重命名/bin/eclipse
并/usr/share/applications/eclipse.desktop
更改为您想要的名称,eclipse-yum
然后更新eclipse-yum.desktop
以引用eclipse-yum
Finally, install it as the guide explains.
最后,按照指南的说明安装它。