是否有任何Debian资源库下载最新版本的Eclipse? [英] Is there any Debian repository to download the most recent version of Eclipse?

查看:107
本文介绍了是否有任何Debian资源库下载最新版本的Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有找到一个安装Eclipse 4.2 Juno。默认的Ubuntu存储库(我使用Ubuntu 10.04)建议我古老的伽利略版本。我在2009年发布的Launchpad上发现了Eclipse的页面。



当然,我可以简单地从 http://www.eclipse.org/downloads/ ,但这不是Debian的方式,是吗?我的意思是,没有自动更新和其他资源管理酷的东西。



那么,是否有任何维护最新版本的Eclipse的存储库?

解决方案

我认为您不太可能会为Lucid找到一个较新的包。人们倾向于为较新版本的Ubuntu创建软件包。



如果无法升级Ubuntu,您可以尝试制作自己的软件包,但您仍然无法获取自动升级从快速浏览看,Juno需要一些可以构建的库,比您系统中的版本更新,因此可能会非常困难。这可能是为什么它不可用于Lucid的原因。



如果Juno在您的系统中运行,那么快速而肮脏的解决方案是首先创建一个临时文件夹,例如eclipse_3.8.0然后执行以下操作:

  mkdir /path/to/eclipse_3.8.0/DEBIAN 
mkdir / path / to / eclipse_3.8.0 / opt
tar xzvf eclipse-juno.tar.gz -C /path/to/eclipse_3.8.0/opt
dpkg-deb -b --no-check / path /to/eclipse_3.8.0

这将创建一个deb包,在/ opt / eclipse中安装eclipse。您可能希望在DEBIAN文件夹中放置一个控制文件,以添加描述,依赖关系等。



如果您仍然想要建立一个尝试,从官方的ubuntu启动板页面为 eclipse ,您可以下载源文件,特别是存储在$中的控制文件c $ c> xxx.debian.tar.gz 文件。有关如何构建的一些提示,请查看 Debian wiki 。 Precise拥有Indigo SR2版本,而Quantal似乎拥有Juno。


I haven't found one to install Eclipse 4.2 Juno. Default Ubuntu repositories (I'm using Ubuntu 10.04) suggest me the archaic Galileo version. And I found the Eclipse's page on Launchpad which was updated in 2009.

I can, of course, simply download the archive with all the files from http://www.eclipse.org/downloads/, but that's not Debian way, is it? I mean, no automatic updates and other aptitude-managed cool things.

So, is there any repository that maintains the most recent version of Eclipse?

解决方案

I think it is unlikely that you will find a newer package for Lucid. People tend to create packages for newer versions of Ubuntu.

If it's not possible to upgrade Ubuntu, what you could try is to make your own package but you would still not get automatic upgrades. From a quick look, it looks like that Juno needs some libraries to build that could be newer than the versions you have in your system, so this may end up being quite difficult. It could possibly be the reason why it is not available for Lucid in the first place.

If Juno works in your system, the quick and dirty solution is to first create a temporary folder, e.g. eclipse_3.8.0 and then do the following:

mkdir /path/to/eclipse_3.8.0/DEBIAN
mkdir /path/to/eclipse_3.8.0/opt
tar xzvf eclipse-juno.tar.gz -C /path/to/eclipse_3.8.0/opt
dpkg-deb -b --no-check /path/to/eclipse_3.8.0

This will create a deb package that installs eclipse in /opt/eclipse. You may want to put a control file inside the DEBIAN folder to add a description, dependencies, etc.

If you still want to give building a try, from the official ubuntu launchpad page for eclipse you can download the source files and especially the control files stored in the xxx.debian.tar.gz file. Take a look at the Debian wiki for some tips on how to build. Precise has the Indigo SR2 version and Quantal seems to have Juno.

这篇关于是否有任何Debian资源库下载最新版本的Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆