You are here: Home / Debian GNU/Linux / System / Software / Setup the Debian Multimedia apt repository

Setup the Debian Multimedia apt repository

by Pierre-Yves Landuré last modified Aug 17, 2016 09:45

The Debian Multimedia repositories provide some non-free softwares (the Lame MP3 encoder, for example).

This howto is tested on :

  • Debian 5.0 Lenny
  • Debian 6.0 Squeeze

Installation

Install the Linux Standard Base software :

command apt-get install lsb-release

Detect the distribution name :

DEBIAN_VERSION="$(command lsb_release -cs)"

Add the software repositories to the apt configuration :

if command wget --spider --quiet "ftp://ftp.deb-multimedia.org/dists/${DEBIAN_VERSION}"; then
command echo "# Debian Multimedia
deb ftp://ftp.deb-multimedia.org/ ${DEBIAN_VERSION} main non-free" \ > '/etc/apt/sources.list.d/deb-multimedia.list'
fi

Update the list of available packages :

command apt-get update

Install the repositories encryption keys :

command apt-get -y --force-yes install deb-multimedia-keyring

Update the list of available packages :

command apt-get update

You can now install softwares from these repositories : Debian Multimedia packages list for Debian 6.0 Squeeze i386.

Thanks