Saturday, July 02, 2005

Kubuntu Repositories

After a fresh Kubuntu install

You're going to want to set the appropriate repositories so you have access to most every available piece of good software for Linux (at least that's my understanding, not to mention the security updates).

So after a fresh install, you'll want to access your sources.list which is found at:

/etc/apt/sources.list

If you're an Emacs user, you might want to start up Kynaptic, opened from a terminal by:

> sudo kynaptic
> password:


and then CTRL-F to bring up the list of packages. Do a search for emacs and select emacs-2.1 or whichever version is showing. Click ok, then press the last (third) button to commit changes. Press enter to agree and it well set off installing emacs for you. When that's done, to access /etc/apt/sources.list you type:

>sudo emacs /etc/apt/sources.list

Of course if you use vim then you've alread done this part before the others have finished installing Emacs. And if you do use vim, you're probably already done this walkthrough.

Now edit the sources.list to have these package addresses in them. Five should already exist, you should only have to uncomment two of them, and only have to add the last two, the multiverse and backport:

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

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

deb http://ca.archive.ubuntu.com/ubuntu hoary universe
deb-src http://ca.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

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

After you have edited sources.list it may be a good time to open up Kynaptic again and under file click on:

Refresh Package Information

then update all your packages (that's the middle button of the three). I just did that here and it took about 5 or 6 minutes on a cable connection to download and update on my 750MHz computer. Have fun installing games and toys through the package manager.

-Frozen bubbles?

No comments:

Followers