如何在旧版本的ubuntu上安装更高版本的软件包,而该软件包仅在较新的ubuntu版本上可用?我以erlang为例 [英] how to install on an old ubuntu release a higher version of a package which is only available on a newer ubuntu release? I take erlang as an example

查看:509
本文介绍了如何在旧版本的ubuntu上安装更高版本的软件包,而该软件包仅在较新的ubuntu版本上可用?我以erlang为例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 ubuntu 服务器系统,它是 8.04 hardy ,我在其中安装Rabbitmq。 rabbitmq 的依赖关系为 erlang-nox(> = 1:12.b.3),但是当前的ubuntu版本,我可以获得的erlang-nox最新版本是: 1:11.b.5dfsg-11 ,通过 apt- get

I have an ubuntu server system which is 8.04 hardy, where I am installing rabbitmq. The rabbitmq has a dependence of erlang-nox (>= 1:12.b.3), but with the current ubuntu release, the most recent version for erlang-nox I can get is: 1:11.b.5dfsg-11, via apt-get.

因此,如何使用apt-安装更高版本的 erlang(erlang-nox)得到?

So, how can I install the higher version of erlang(erlang-nox) with apt-get?

我知道erlang的更高版本在较新的ubuntu版本中可用,例如,在我的笔记本电脑上,ubuntu的 9.1 karmic ,而erlang软件包为 13.b.1-dfsg-2ubuntu1.1 。如何将其安装到 8.04 服务器系统中?

I know the higher version for erlang is available in newer ubuntu release, e.g., on my laptop, the ubuntu is 9.1 karmic, and the erlang packages are 13.b.1-dfsg-2ubuntu1.1. how can I get it installed into my 8.04 server system?

我还没有尝试过,我想是手动的从官方提供的软件包中安装erlang也许可以,但是我真的很想先使用Debian,即 apt-get

I have not tried yet, and I guess manually installing the erlang from the official provided package might work, but I really want a Debian way first, namely, apt-get.

谢谢!

推荐答案

您可以在以下位置声明Ubuntu Karmic存储库/etc/apt/sources.list,然后进行apt-get更新,然后使用apt-get install erlang安装更新版本的erlang软件包。

You may declare the Ubuntu Karmic repository in /etc/apt/sources.list, then apt-get update and then install the erlang package of a newer version with apt-get install erlang.

但是请注意,您安装的软件包的所有依赖项也可能是较新的版本。这很可能会在所有依赖关系树上传播。因此,您将进行重大更新,并且可能会出现冲突。但是,AFAIK是使用apt-get的唯一方法。

But beware that all the dependencies of the package you install may also be of newer versions. And this will most likely propogate on all the dependency tree. So, you'll have a significant update, and the conflicts may appear. But, AFAIK, that's the only way to do with apt-get.

这篇关于如何在旧版本的ubuntu上安装更高版本的软件包,而该软件包仅在较新的ubuntu版本上可用?我以erlang为例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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