AddingMultimediaRepositories

Differences between revisions 1 and 2
Revision 1 as of 2005-07-21 21:00:51
Size: 4887
Editor: pcp0011382713pcs
Comment:
Revision 2 as of 2005-10-26 17:18:00
Size: 5075
Editor: c-300372d5
Comment:
Deletions are marked like this. Additions are marked like this.
Line 100: Line 100:
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"]

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

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

deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

#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

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

deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

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 

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