DebianEtch-KDE
Installing Debian Etch Using The Etch-KDE Single CD
Summary
This article is intended for beginners and those looking for tips and tricks to install Debian Etch in their systems.
Debian is one of the popular and free ( Libre ) distributions of GNU/Linux. Etch is the latest stable release and comes in multiple CD or DVD installations. However there is a single CD Etch-KDE distribution debian-40r1-i386-kde-CD-1.iso available that can be downloaded from the Debian mirrors. For the purpose of this installation, it was downloaded in Mumbai, India from a Taiwanese mirror using the following command.
wget -c url
The -c option allows you to continue broken downloads. The hardware used for installation was Pentium4 2.4 GHz., Intel original 845 GEBV2 motherboard, 256 MB DDR2 RAM, 80 GB IDE HDD.
Installation
After the iso is downloaded, burn it into a CD and boot your system with it. At the boot prompt, simply hit the enter key to select the default installation method.
Every stage in the installation process is accompanied by text details to help you make the right entries wherever required. When you come to the package installation part, it will ask you if you want to install packages from the CD or mirrors. If you have internet problems or have low download limits, choose the CD install. It will still look for security mirrors and download about 50 to 60 MB of security updates.
Post Install Setup
The distro is packed with KDE utilities but does not have Open Office or KOffice and no CUPS. It comes with Iceweasel which is a fork of Firefox.
During package installation, the CD option was selected, so there were no internet package repositories in the /etc/apt/sources.lst file. Use Alt+F2 to open the Run Command dialog box and type konsole and hit enter. From now on the remaining installation will be done in this terminal window.
The sudo and vim packages are added using
apt-get install sudo vim
The packages are installed from the CD itself. Apt is the default package manager for Debian based GNU/Linux distributions. Vim is necessary for those who want to use the vi editor. To use the sudo command, first open a terminal and su - to open a root shell. Edit the /etc/sudoers file using nano /etc/sudoers. If you are comfortable with vim then use vi in place of nano.
Under the section:
User privilege specification root ALL=(ALL) ALL
Add a similar line as the root one and replace root with your user_name. Save the file and exit. Please read documentation on sudo to understand its security requirements. Exit from the root shell and you can use the sudo command for further setup.
Now add Etch repositories to the sources.lst file of Apt using sudo vi /etc/apt/sources.lst
A sample of these entries can be found at http://www.mepis.org/node/8097
deb http://security.debian.org/ etch/updates main contrib non-free deb http://www.debian-multimedia.org/ etch main deb http://ftp.de.debian.org/backports.org/ etch-backports main contrib non-free deb ftp://ftp.us.debian.org/debian/ stable main contrib non-free deb http://debian.beryl-project.org/ etch main
After you have saved the file, do a sudo apt-get update to download the available package lists from those internet repositories.
Installing Other Packages
After an apt-get update, it is time to download other required packages. They are listed below.
- knemo - for network monitoring.
- adept - A lovely gui for apt. It helps in searching related packages other than the main namesake.
- CUPS For CUPS printing support.
- Icedove - a fork of Thunderbird.
sudo apt-get install knemo adept icedove
For installing CUPS printing support, run
sudo apt-get install cupsys cups-pdf cupsys-client cupsys-common cupsys-driver-gimpprint cupsys-driver-gutenprint cupsys-pt printconf
Iceweasel and Icedove use default .mozilla and .mozilla-thunderbird folders in the user directory, so restoring backups from Firefox and Thunderbird is simply a copy and paste of the entire folders.
For starting knemo, go to KMenu -> Control Center -> Internet & Network -> Network Monitor. Check the box that says 'Use knemo to monitor your interfaces'.
Cups-pdf is a utility to add a system wide pdf printer. To setup printers, enter localhost:631 as the url in a browser. The pdf printer is added by selecting 'Virtual Printer PDF' from the initial list. In the drivers list, select 'Raw Printer' and go ahead. By default, cups-pdf creates a folder called PDF in the home directory. It can be changed by editing the file /etc/cups/cups-pdf.conf.
Installing OpenOffice
Open Office is available as an older version in apt, so DON'T install it. Download the latest version OOo_2.3.0_LinuxIntel_install_en-US_deb.tar.gz.
Then untar it and inside its directories you will get a DEBS directory full of .deb packages and its subdirectory called Desktop Integration. Get into the DEBS directory and use sudo dpkg -i *.deb to install all the deb packages. Then get into the Desktop Integration subdirectory and install the last package using sudo dpkg -i openoffice.org-debian-menus_2.3-9215_all.deb.
This is a smooth installation of Open Office in GNU/Linux. The last package adds the menu items to the KDE menu.
Adding Multimedia Support
For this section, all the commands are taken from http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian
However it has a lot more stuff that may not be necessary so simply follow the steps below.
Add the Debian multimedia repository to your /etc/apt/sources.list as given below.
#multimedia deb http://www.debian-multimedia.org etch main
Then run the following 2 commands one after another.
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907 gpg --armor --export 1F41B907 | sudo apt-key add -
After this do a sudo apt-get update to add the new packages to the apt list.
Then, install the multimedia packages using this command. Please note that these packages are non-free in nature and in some countries it may be illegal to use them.
sudo apt-get install w32codecs libdvdcss2 liblame0 flashplugin-nonfree streamtuner xmms msttcorefonts banshee realplayer
This is a long installation. Note that from the site's page, the totem-mozilla entry was removed as we don't use Gnome.
After this install the media player kaffeine using sudo apt-get install kaffeine. If apt returns errors then follow its instructions to run sudo apt-get -f install to correct broken package lists. Then run the kaffeine installation again.
Once Kaffeine is installed, you system is now ready for multimedia playback. You can now play VCDS, DVDs and other media formats to your hearts content. Kaffeine will automatically detect a VCD or DVD and offer to play it.
There is no volume control in the desktop so right click on the task bar and select Add applet to panel.... From the list select Sound Mixer. After it is installed, right click on its icon and select Channels. Remove the unwanted ones to keep the icon slim. The necessary ones are Headphone and PCM as they actively control your sound level.
Now your system is ready as a desktop pc. Depending on the need, you can add extra packages from the site