AddingMultimediaRepositories

Differences between revisions 2 and 3
Revision 2 as of 2005-10-26 17:18:00
Size: 5075
Editor: c-300372d5
Comment:
Revision 3 as of 2005-12-27 07:02:20
Size: 35
Editor: S0106001217cbd164
Comment: change this into a redirect
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#format wiki
#language en
= Adding Extra Repositories for Multimedia Support =

This guide will add the Universe, Multiverse and Hoary-Extras repositories to your system.

1) First, you should backup your existing sources.list file which contains the repositories Synaptic and apt-get use to install packages. Open up a terminal from {{{Applications}}} , {{{System Tools}}} , {{{Terminal}}}. Then execute the command:

{{{
   bash:~$ sudo cp /etc/apt/sources.list /etc/apt/original.sources.list
}}}

Next, you should edit or replace your existing /etc/apt/sources.list file. I've included the old soucres.list and what it should look like after being edited. You'll notice that the {{{#}}} characters have been removed from the lines with deb and deb-src. You may also want to add a {{{#}}} before the deb cdrom: line if you're on a broadband connection and would prefer to use network sources.

== To Replace ==
If you would prefer to just replace your existing /etc/apt/sources.list with the one I prepared (see NEW SOURCES.LIST), downoad the sources.list below and save to your Home directory (home/username). Then execute this command in a terminal:

attachment:sources.list

{{{
   bash:~$ sudo cp sources.list /etc/apt/sources.list
}}}

You can now skip to step three.


== To Edit ==

Start gedit (GNOME's editor), and make the necessary changes so your sources.list file looks like the NEW SOURCES.LIST shown below. Then Select {{{Save}}} and exit gedit. Don't forgot to complete step three.

{{{
   bash:~$ sudo gedit /etc/apt/sources.list
}}}

OLD SOURCES.LIST
{{{deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted

## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
#deb http://us.archive.ubuntu.com/ubuntu hoary universe
#deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

#deb http://security.ubuntu.com/ubuntu hoary-security universe
#deb-src http://security.ubuntu.com/ubuntu hoary-security universe

#deb http://archive.ubuntu.com/ubuntu hoary multiverse
#deb-src http://archive.ubuntu.com/ubuntu hoary multiverse}}}

NEW SOURCES.LIST
{{{deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted

## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse

#Hoary-Extras
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted}}}

Comment: I don't think mirrormax has backports anymore. And I don't think any of the repos above have the legaly risky but oh so important w32codecs. Have a look at ["RestrictedFormats"]

3) You now need to download the new list of available packages by execting this command:

{{{
   bash:~$ sudo apt-get update
}}}
#REDIRECT AddingRepositoriesHowto

AddingMultimediaRepositories (last edited 2008-08-06 17:00:13 by localhost)