
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.















August 28th, 2006 at 4:34 pm
Thanks and linked.
August 28th, 2006 at 8:12 pm
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?
August 28th, 2006 at 9:07 pm
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
October 5th, 2007 at 4:05 pm
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.