如何安装实验性软件包?

22

我想安装一个实验性的Debian软件包。

我目前遇到旧版本的问题,所以我认为最好升级并尝试新版本,因为我总是可以切换回来。 无论如何,我想安装这个软件包:

Experimental: http://packages.debian.org/experimental/deluge
Normal: http://packages.debian.org/wheezy/deluge

我有一个哮喘的Debian系统。


1
Stack Overflow是一个关于编程和开发问题的网站。这个问题似乎不属于编程或开发范畴。请参阅帮助中心中的我可以在这里问什么样的问题。也许超级用户Unix&Linux Stack Exchange更适合提问。 - jww
1个回答

37

添加

deb http://ftp.debian.org/debian experimental main contrib non-free

将以下内容添加到您的/etc/apt/sources.list/etc/apt/sources.list.d/experimental.list文件中,然后执行:
apt-get update
apt-get -t experimental install deluge

请查看Debian Wikiapt-get手册。
  -t, --target-release, --default-release
       This option controls the default input to the policy engine; it creates a default pin at priority 990 using the specified release
       string. This overrides the general settings in /etc/apt/preferences. Specifically pinned packages are not affected by the value of
       this option. In short, this option lets you have simple control over which distribution packages will be retrieved from. Some
       common examples might be -t '2.1*', -t unstable or -t sid. Configuration Item: APT::Default-Release; see also the
       apt_preferences(5) manual page.

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接