为 Java EE 开发人员安装 Eclipse Indigo 的 yum 命令是什么?
我想通过 yum 命令在 CentOS 中为 Java EE 开发人员安装 Eclipse Indigo。
yum install eclipse ...
确切的命令是什么?
I want to install Eclipse Indigo for Java EE developers in CentOS through yum
command.
yum install eclipse ...
What is the exact command?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
从 Eclipse 网站下载 Eclipse 存档。将其解压到合适的位置。解压后的目录树包含可执行文件。它不是使用 RPM 打包的。 RedHat(和其他操作系统)提供的版本通常非常旧,并且不包含 Java EE Eclipse 模块。
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.
对于最新的 Eclipse 版本:)
如果您需要 JEE,您可以随后安装该插件
编辑:
对于 CentOS 8,您必须启用 eclipse 模块并安装软件包:
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:
CentOS 6 包含 Eclipse 3.6.1 (Helios),因此无法通过 Yum 安装 Eclipse 3.7 (Indigo)。
您可以像 Raedwald 解释的那样手动安装它,也可以使用附带 Indigo 的 Fedora 16。
由于 RHEL/CentOS 在软件版本方面非常保守,因此我预计 Indigo 不会很快得到支持。
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.
就像其他人回答的那样,如果你的 yum 没有它,你需要手动安装它。
这是我用来执行此操作的指南: http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/
我与支持 Eclipse 4.2 (juno) 而不是 3.7 (indigo) 的 Fedora 17 一起使用。
要并行运行它们,您可以首先安装 yum 版本,然后将
/bin/eclipse
和/usr/share/applications/eclipse.desktop
重命名为您想要的名称。想要像eclipse-yum
然后更新eclipse-yum.desktop
以引用eclipse-yum
最后,按照指南说明安装它。
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 likeeclipse-yum
then updateeclipse-yum.desktop
to referenceeclipse-yum
Finally, install it as the guide explains.