Find it
Custom Search

Saturday, October 15, 2005

Upgrading to Kubuntu 5.10 (Breezy Badger)



The latest version of Kubuntu, codenamed Breezy Badger is out. There have been several changes since the previous release which was Hoary HedgeHog.

To upgrade your OS from previous version,

1.type:
$ sudo sed -e 's/hoary/breezy/g' -i /etc/apt/sources.list

There are several commands you will notice here.

We need to use the sudo command again because the file we need to edit, which is sources.list, is accessible only to the root user. Take note also that sources.list is stored in /etc/apt directory ,

The sudo command allows us to execute any Linux command as root user.

The sed command stands for 'stream editor'. This program will allow us to modify sources.list.

notice 's/hoary/breezy/g' after -e

s means search
hoary is the word we need to replace
breezy is the word we will replace it with
g means global replacement or replace all occurrence.

-e tells sed to execute a script or expression.

-i tells sed to save the changes in the input file

Our input file is of course /etc/apt/sources.list.

sources.list tells Kubuntu where to download upgrades or additional software packages.


2. then type:
$ sudo apt-get update

3. then:
$sudo apt-get dist-upgrade

A word of warning. This may take you several hours depending on the speed of your internet connection.

If you prefer not to wait this long you can always download the ISO image and burn it on the CD.

Then do a fresh install.

Be sure to backup your files though. And store them somewhere safe before you install.

No comments: