请教有哪个 Linux 版本支持安装旧版本软件不用升级整个系统的

2020-07-20 12:17:20 +08:00
 standin000
我现在用 ubuntu 16,想升级 emacs 到最新版本,没办法,必须要升级到 18 才可以,多谢
3582 次点击
所在节点    Linux
26 条回复
ClarkAbe
2020-07-20 12:25:36 +08:00
archlinux
vk42
2020-07-20 12:28:36 +08:00
装 ppa 源呗
hymzhek
2020-07-20 12:28:39 +08:00
NixOS
littlewing
2020-07-20 12:32:41 +08:00
自己编译不就行了
domosekai
2020-07-20 12:37:00 +08:00
如果只用系统 repo,那么没有。要么用 arch 那种不存在版本概念的,否则有版本的 repo 肯定不会与时俱进。
不用系统 repo 的话,你可以考虑 ppa 或者 snap,如果 snap 里有的话 snap 最方便。
expy
2020-07-20 12:46:31 +08:00
felixcode
2020-07-20 13:00:36 +08:00
Debian 的 Backports 应该就是你说的需求。

You are running Debian stable, because you prefer the Debian stable tree. It runs great, there is just one problem: the software is a little bit outdated compared to other distributions. This is where backports come in.

Backports are packages taken from the next Debian release (called "testing"), adjusted and recompiled for usage on Debian stable. Because the package is also present in the next Debian release, you can easily upgrade your stable+backports system once the next Debian release comes out. (In a few cases, usually for security updates, backports are also created from the Debian unstable distribution.)
love
2020-07-20 13:01:48 +08:00
人家连 ubuntu 升个版本都不愿意还有人推荐 arch 哈哈

另外 archlinux 官方不推荐不升级整个系统只安装新版本软件,这种行为是未经测试且没法用太老的软件的因为环境不兼容了。
qiushaox
2020-07-20 13:08:44 +08:00
自己编译或者下载 bin release 解压,设置下环境变量不就得了,简单得很
loading
2020-07-20 13:16:12 +08:00
gentoo
DefoliationM
2020-07-20 13:25:33 +08:00
archlinux 没有版本一说 滚动更新
no1xsyzy
2020-07-20 13:37:44 +08:00
重新编译吧,/opt 还没用上吧
(题外话,现在我 Win 下不用安装整个拖来的软件都是放 D:\opt 下了
laike9m
2020-07-20 13:54:50 +08:00
第三方源,或者自己编译,都能做到
cnt2ex
2020-07-20 14:00:08 +08:00
snap/homebrew 等等其他包管理器
25zai
2020-07-20 14:01:03 +08:00
manjaro
rrfeng
2020-07-20 14:02:08 +08:00
docker (

或者 conda 之类的环境管理能搞定依赖的就行。
tomychen
2020-07-20 14:11:02 +08:00
说的不是 gentoo 吗
reus
2020-07-20 14:11:27 +08:00
改 18 的源,升级 emacs,升完再改回 16 的源
这样就只会升级 emacs 相关的包
ik2h
2020-07-20 14:12:24 +08:00
Gentoo eselect 可以装几个版本
msg7086
2020-07-20 14:37:09 +08:00
软件包和操作系统是一体的。新版本软件就是属于新的系统的东西了。
所以一般是用 docker 或者 chroot 解决,也就是实质上地多安装一个新版本的系统,在里面运行新版本的软件。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/691528

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX