RSS

Ubuntu basics - how to add extra repositories to get neat stuff

Mon, Aug 28, 2006

ArsGeek, Linux, Ubuntu

Talk about it in our Forums

Nubuntu!

Want to add extra repositories in Ubuntu? Here’s how to do it.

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

sudo gedit /etc/apt/sources.list

Then you want to cut and paste the following repositories into your sources.list file. You can also hunt around for more of them, but these are the basics. If you’re running Edgy, then replace ‘dapper‘ in the example below with ‘edgy‘.

## Add comments (##) in front of any line to remove it from being checked.

## Use the following sources.list at your own risk.

deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release

deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES

deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)

deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)

deb http://packages.freecontrib.org/plf dapper free non-free

deb-src http://packages.freecontrib.org/plf dapper free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu

## servers. RealPlayer10, Opera and more to come.)

deb http://archive.canonical.com/ubuntu dapper-commercial main

Now let’s save the file, and update your system.

sudo apt-get update

sudo apt-get dist-upgrade

That’s it!

geek out.

Click the icon, share the link:
  • Digg
  • del.icio.us
  • MisterWong
  • Furl
  • Reddit
  • Technorati
  • BlinkList
  • feedmelinks
  • PopCurrent
  • Blogosphere News
  • Facebook
  • Fark
  • Mixx
  • Slashdot

This post was written by:

arsgeek - who has written 1980 posts on ArsGeek.


Contact the author

4 Comments For This Post

  1. matt Says:

    Thanks and linked.

  2. Nick Says:

    You can do it in a much easier/simpler way by using Synaptic, and selecting the menu repositories. Why using the CLI, when a GUI does a much better job?

  3. arsgeek Says:

    For me, the CLI is the easier way. I think it’s all just a matter of preference as to which way to do it. Neither is better. But, seeing as this is my blog :) My way gets the story and the rest get relegated to the comments.

    Unless of course you’d like to write some articles on using the GUI, which I would welcome.

    geek out

  4. foetleneery Says:

    There’s one special secret Sale link on Amazon:

    http://tinyurl.com/2r7ldr

    This is open every Friday and ONLY on Fridays!

    You can find very good discounts here, although some Fridays you can really get
    lucky and make off like an Amazon bandit - I´ve seen discounts there as low as 75%
    off sticker Price.

5 Trackbacks For This Post

  1. ArsGeek :: Ubuntu Basics – Wallpaper, Fonts and Themes Says:

    [...] Ubuntu comes with a few neat fonts but of course there are ways to get more. If you’d like to download the MS fonts, or other fonts, you can do the following. You’ll need your extra repositories for this. [...]

  2. Ubuntu Basics – Wallpaper, Fonts and Themes : Tech Tips Says:

    [...] Ubuntu comes with a few neat fonts but of course there are ways to get more. If you’d like to download the MS fonts, or other fonts, you can do the following. You’ll need your extra repositories for this. [...]

  3. ArsGeek - Free your inner geek » Ubuntu Tricks - How to mount your Windows partition and make it read/writable with NTFS-3G Says:

    [...] You’ll be prompted to install this and several other dependancies as well. If you run into errors where ntfs-3g can’t be found, check out this article about adding extra repositories. [...]

  4. ArsGeek - Free your inner geek » Need your space fix? Get Celestia! Says:

    [...] You may need to add extra repositories. [...]

  5. ArsGeek - Free your inner geek » Ubuntu Quicktip - adding extra fonts to your Ubuntu install Says:

    [...] First, you’ll have to make sure you have extra repositories added. [...]

Leave a Reply