[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie alert: Single package from unstable



Hi, Matt:

On Friday 12 November 2010 21:32:05 Matt Simmons wrote:
> Hi, how can I install a package from unstable? (currently running testing)
> For example, I know it should be something like:
> # apt-get install uswsusp/unstable

You need:
1) To add sources for "unstable" to your sources list.  I.e.:
/etc/apt/sources.list:
[...]
deb http://apt.debian.org/debian/ sid main non-free contrib
2) Reload the sources:
apt-get update
3) Install the package telling the system you want the version from unstable:
apt-get -t sid install [my package]

Please pay attention that this will try to bring from unstable needed 
depencies for [my package].  This can be OK or not for you.

If you just want *exactly* foo and anything else, you may need to recompile 
the package, which I consider out of scope for a newbie.

More info reading man page for apt-get and related.

Cheers.


Reply to: