How to use Debian Testing with the latest softwares

Share your own howto's etc. Not for support questions!

How to use Debian Testing with the latest softwares

Postby sidRo » 2011-01-09 09:32

How to use Debian Testing with the latest software like Iceweasel (Firefox) or Chromium (Chrome community edition).

Edit /etc/apt/source.list after you have installed Debian Testing.
Login as root and edit:

nano /etc/apt/source.list
# Debian Testing repo
deb http://ftp.hu.debian.org/debian/ testing main non-free contrib
#deb-src http://ftp.ro.debian.org/debian/ testing main non-free contrib

# Liquorix Kernel repo (for sid)
deb http://liquorix.net/debian sid main

# Debian Sid (Unstable) repo
deb http://ftp.hu.debian.org/debian/ unstable main non-free contrib
#deb-src http://ftp.ro.debian.org/debian/ unstable main non-free contrib

# Debian Experimental repo
deb http://ftp.hu.debian.org/debian/ experimental main non-free contrib
#deb-src http://ftp.ro.debian.org/debian/ experimental main non-free contrib

Add Liquorix repository in source.list to help you get the latest kernel.
After editing /etc/apt/source.list create a file named "preferences" in /etc/apt/ .

Login as root and edit: /etc/apt/preferences



touch /etc/apt/preferences
nano /etc/apt/preferences


Your /etc/apt/preferences file must contain:
Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 800

Package: *
Pin: release a=experimental
Pin-Priority: 700
Save the file.
Type as root
apt-get install liquorix-archive-keyring
apt-get update

or

aptitude install liquorix-archive-keyring
aptitude update


Now you can get the software you want easily.

If you want lastest version of Iceweasel type.
apt-get install -t experimental iceweasel
apt-get install -t experimental chromium-browser


I use experimental repository for newest software.
Don't use it for metapackages or important data system.
Use it only for small applications like chromium or iceweasel.
Please don't upgrade your system software from experimental repository.

apt-get -t
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.
If you want to install only the software package (no dependencies) from the experimental repository use:
apt-get install iceweasel/experimental



*note
After arrival of Debian 6 you can use sid/unstable repository for consistency.

Original article here: http://spinopensource.blogspot.com/2011 ... dited.html
User avatar
sidRo
 
Posts: 106
Joined: 2010-12-08 10:21
Location: Romania, Valcea

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable