简体   繁体   English

如何安装实验包?

[英]How to install experimental package?

I would like to install an experimental Debian package.我想安装一个实验性的 Debian 软件包。

I'm currently having problems with the older version so I figured it's best to upgrade and try that one because I can always switch back.我目前在使用旧版本时遇到问题,所以我认为最好升级并尝试那个版本,因为我可以随时切换回来。 Anyway I want to install this package:无论如何我想安装这个包:

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

I have wheezy debian.我有气喘吁吁的 debian。

Add添加

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

to your /etc/apt/sources.list or into /etc/apt/sources.list.d/experimental.list then execute到您的/etc/apt/sources.list/etc/apt/sources.list.d/experimental.list然后执行

apt-get update
apt-get -t experimental install deluge

See Debian Wiki and apt-get manual请参阅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.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM