Installing Kubuntu Linux

From TechWiki

For the long version go to Installing Debian GNU/Linux

Enlarge

Contents

About

kubuntu is an ubuntu Linux version with the KDE desktop environment. Read more on wikipedia: [1] [2].

Summary

  • Get software
  • Install
  • Download packages
  • Enjoy

Get CD

Go to download page:

http://ie.releases.ubuntu.com/ubuntu-releases/kubuntu/6.06/

and select version.

For an Intel/AMD system choose:

kubuntu-6.06-desktop-i386.iso

Burn CD as image.

Install: Part I

Boot your computer from the CD (perhaps you need to press F12 or Delete to tell it to boot from CD).

The CD contains a live kubuntu operating system, so when it is up and running, click the install symbol on the desktop to start the install.

Answer a few simple install questions.

Now you should have kubuntu on your computer with:

  • Browser and file manager (Konqueror)
  • Openoffice suite
  • CD & DVD burning tools (K3b)
  • Scanner and OCR tool (Kooka)
  • Media player (Kaffeine, amaroK)
  • Text editor (Kate)
  • Bit torrent client (KTorrent)

etc. and all the usual Unix commands.

Install: Part II

Reboot the computer without the CD.

If you have a router, ADSL or cable plug in the LAN cable and the internet connection will be established. For a dial-up connection, select the KPPP program from K Menu -> Internet.

Here the magic of Linux starts. Because there is an army of programmers worldwide contributing for free to the Open Source movement, nearly every day kubuntu and a myriad of tools get updated and better and better...

A note for beginners: the text in the gray boxes with dashed borders are system commands to be entered in a (command line) console or terminal. To open, select K Menu (symbol at bottom left of screen) -> System -> Konsole (Terminal Program. Select with cursor and type...

You can do an automatic installation of packages using Automatix, or a manual install using either the command line or the graphical interface of the 'Adept package manager (K Menu -> System).

Automatix - Automatic Installation of Packages

Unfortunately, autmomatix is discontinued for kubuntu 8.04 ([3]).

Automatix is a graphical interface for automating the installation of the most commonly requested applications in Debian based Linux operating systems.

The applications, codecs, fonts and libraries are not provided by Ubuntu directly for legal or philosophical reasons. It includes commercial closed source programs such as Flash plug-in, Acrobat Reader, w32 codecs (divx, mp3, wma) and web core fonts.

To install:

wget http://www.getautomatix.com/files/automatix-installer
chmod 755 automatix-installer
./automatix-installer

Start by entering

automatix

Some available packages:

  • Acrobat reader
  • Audio DVD codecs
  • Video editing tool
  • DVD Ripper
  • Flashplayer
  • Google Earth
  • Google Picasa
  • Java
  • M(edia) player
  • Multimedia codecs
  • RealPlayer
  • Stream ripper and tuner
  • Skype
  • Wine (Windows emulator)
  • ...

Manual Installation of Packages

The following can also be done using the GUI of the Adept package manager (K Menu -> System). However, it is so much more fun to use a terminal and apt get;-)

First you need to tell kubuntu with what repositories it needs to connect in the internet.

Type in the terminal window:

sudo vi /etc/apt/sources.list

sudo gives you sys admin rights (and requires your log in password), vi is an editor (starts within the terminal session) and /etc/apt/sources.list gives the directory and filename to edit.

Uncomment all entries starting with "#":, e.g.:

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

You do this by using the arrow keys to position and the press i (means insert for vi). Then simply delete. Go to the next entry and do the same.

Your file should look like this:

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

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

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

For additional programs (Skype, RealPlayer,... ) copy and paste the following code to the end of the list:

## Penguin Liberation Front (PLF)
deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

Now you can save and exit vi:

press Esc
type : (colon) and wq

Esc gets you out of the insert mode, ":" lets you enter system commands, such as w(rite) and q(uit).

Now update:

sudo apt-get update
sudo apt-get upgrade 

This could take a while. You now have access to 18'884 packages! Not every package is a program, but it's a hell of a lot of free, high quality software...

A Selection of Packages

Look around in the K Menu and see what is already there (openoffice suite, CD & DVD burning tool, scanner and OCR tool, media player, ...).

To see what you can install:

dpkg --get-selections | more
Peress Space Bar to scroll through list

Go for it:

sudo apt-get install package1 package2 ...

where packageX is for example something like

  • build-essential
(essential packages: cpp,...)
  • skype
  • ffmpeg
(multimedia player, server and encoder)
  • gimp
(Photoshop replacement)
  • dia
(Diagramming tool)
  • inkscape
(Vector graphic tool)
  • kcoloredit
(Color tool)
  • xemacs21-bin
(Editor)
  • gv
(Ghostview for Postcript files)
  • acroread
(Adobe Acrobat Reader)
  • mozilla-thunderbird
  • mozilla-firefox
  • myspell-de-ch
(Swiss German spellchecker for thunderbird and openoffice)
  • latex209-bin
(Professional typesetting program)
  • sun-java5-jdk
  • eclipse
(Superduper Java IDE)
  • mysql-server
  • apache2
(Most frequently used web server)
  • apache2-mpm-prefork
  • imagemagick
  • php5
  • php5-mysql
  • php5-gd
  • phpmyadmin
  • python2.4
(Popular script language)
  • make
  • htop
(A better top)
  • gnuplot
  • r-recommended r-cran-rmysql r-cran-rcmdr
(R programming language for statistical computing and graphics; usage)
  • koctave
(KDE front end for Octave [4], GNU's answer to Matlab)
  • subversion
(Versioning control system)
  • egroupware
(Web-based groupware suite)
  • more stuff: sun-java6-plugin, acroread-plugins

For more media stuff, look here: [[5][Installing Debian GNU/Linux: media]] or better, use Automatix.