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

爱⌒轻易说出口 提交于 2019-12-12 05:33:28

问题


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.

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

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?

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.

Thanks!


回答1:


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.

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.




回答2:


http://wiki.basho.com/Installing-Erlang.html



来源:https://stackoverflow.com/questions/7186292/how-to-install-on-an-old-ubuntu-release-a-higher-version-of-a-package-which-is-o

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!