在debian上安装实验包

时间:2013-06-21 21:35:32

标签: linux debian apt-get

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

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

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

我有喘息的debian。

1 个答案:

答案 0 :(得分:25)

添加

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.