Install Debian wheezy-backports repository

The Debian backports repository contain packages or newer versions of packages that did not make it into the original release. You can read more about backports on the Debian website.

To install wheezy-backports you need to either add the repository line:

deb wheezy-backports main

to your /etc/apt/sources.list file.

Alternatively you can create a new sources list file with this command (run as root):

# echo 'deb wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports.list

Once installed, run apt-get update:

# apt-get update

Select individual packages to install:

# apt-get -t wheezy-backports install "package"

Photo credit: Giulio Turetta

2 thoughts on “Install Debian wheezy-backports repository”

  1. Thanx man. I used the “echo” way to add to my sources.list. I was trying with add-apt-repository, but I couldn’t get it to work.

Leave a Reply

Your email address will not be published. Required fields are marked *