DebianEtch-KDE: Difference between revisions

 
(17 intermediate revisions by 3 users not shown)
Line 5: Line 5:
This article is intended for beginners and those looking for tips and tricks to install [http://www.debian.org Debian Etch] in their systems.  
This article is intended for beginners and those looking for tips and tricks to install [http://www.debian.org Debian Etch] in their systems.  


[http://www.debian.org Debian] is one of the popular and free ( Libre ) distributions of [http://www.gnu.org GNU/Linux]. Etch is the latest [http://www.us.debian.org/releases/stable/ stable] release and comes in multiple CD or DVD installations. However there is a single CD Etch-KDE distribution [ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian-cd/4.0_r1/i386/iso-cd/debian-40r1-i386-kde-CD-1.iso 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.  
[http://www.debian.org Debian] is one of the popular and free ( Libre ) distributions of [http://www.gnu.org GNU/Linux]. Etch is the latest [http://www.us.debian.org/releases/stable/ stable] release and comes in multiple CD or DVD installations. There are also separate CD images available that install the KDE (or Xfce desktop) environment by default at
ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian-cd/4.0_r1 or other Debian morrors at http://www.us.debian.org/CD/http-ftp/
and there is a [ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian-cd/4.0_r1/i386/iso-cd/debian-40r1-i386-kde-CD-1.iso debian-40r1-i386-kde-CD-1.iso] that can be downloaded from the Debian mirrors.  
However, users wishing to install alternate desktop environments can easily do so by adding boot parameters: tasks="standard, kde-desktop" for KDE and tasks="standard, xfce-desktop" for Xfce. Note that this will not work when installing from a full CD image without using a network mirror as an additional package source; it will work when using a DVD image or any other installation method.
 
For the purpose of this installation, [ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian-cd/4.0_r1/i386/iso-cd/debian-40r1-i386-kde-CD-1.iso debian-40r1-i386-kde-CD-1.iso] was downloaded in Mumbai, India from a Taiwanese mirror using the following command.  


'''wget -c url'''
'''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.
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.
This article deals with installation of this Etch-KDE single CD.


===Installation===
===Installation===
Line 25: Line 32:
The '''sudo''' and '''vim''' packages are added using
The '''sudo''' and '''vim''' packages are added using


'''apt-get install sudo vim'''  
'''apt-get install sudo vim'''  


The packages are installed from the CD itself. [http://www.debian.org/doc/manuals/apt-howto/ 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''.  
The packages are installed from the CD itself. [http://www.debian.org/doc/manuals/apt-howto/ 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''.  
Line 40: Line 47:
A sample of these entries can be found at http://www.mepis.org/node/8097
A sample of these entries can be found at http://www.mepis.org/node/8097


After you have saved the file, do a '''sudo apt-get update''' to download the available package lists from those internet repositories.
Or you can use following repositories
 
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===
===Installing Other Packages===
Line 64: Line 89:
===Installing OpenOffice===
===Installing OpenOffice===


Open Office is available as an older version in apt, so DON'T install it. Download the file
Old (Read as '''Stable''') version of Open Office is available in etch. Also there is a separate repository available at backports.org which is an unofficial repository of backports for the current stable distribution, prepared by Debian developers. You can find more information here [http://backports.org/dokuwiki/doku.php?id=instructions]. 
 
A sample line for your sources.list is:
deb http://www.backports.org/debian etch-backports main contrib non-free
 
Once you've added that line, aptitude update && aptitude install debian-backports-keyring. And you can now install  openoffice from backports using following command
'''aptitude -t etch-backports install openoffice.org'''
 
Or You can also download the latest version
[ftp://ftp.mirror.tw/pub/openoffice/stable/2.3.0/OOo_2.3.0_LinuxIntel_install_en-US_deb.tar.gz OOo_2.3.0_LinuxIntel_install_en-US_deb.tar.gz].  
[ftp://ftp.mirror.tw/pub/openoffice/stable/2.3.0/OOo_2.3.0_LinuxIntel_install_en-US_deb.tar.gz OOo_2.3.0_LinuxIntel_install_en-US_deb.tar.gz].  


Then untar it and inside its folders you will get a ''DEBS'' folder full of .deb packages and its subfolder called Desktop Integration. Get into the ''DEBS'' folder and use '''sudo dpkg -i *.deb''' to install all the deb packages. Then get into the ''Desktop Integration'' folder and install the last package using
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 openoffice.org-debian-menus_2.3-9215_all.deb'''.  
'''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 Linux. The last package adds the menu items to the KDE menu.
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===
===Adding Multimedia Support===


For this section, all the links are taken from http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian
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 following steps.
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.
Add the Debian multimedia repository to your ''/etc/apt/sources.list'' as given below, if not added earlier.


  #multimedia
  #multimedia
Line 90: Line 126:
After this do a '''sudo apt-get update''' to add the new packages to the apt list.
After this do a '''sudo apt-get update''' to add the new packages to the apt list.


After that 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.  
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'''
'''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.
This is a long installation. Note that from the site's [http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian page], the totem-mozilla entry was removed as we don't use Gnome.


After this install [http://kaffeine.kde.org/ 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.
After this install the media player [http://kaffeine.kde.org/ 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.
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.
Line 103: Line 139:


Now your system is ready as a desktop pc. Depending on the need, you can add extra packages from the [http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian site]
Now your system is ready as a desktop pc. Depending on the need, you can add extra packages from the [http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian site]
===Setting Up K3B===
[http://www.k3b.org/ K3B] is a CD/DVD burning software and in this Etch-KDE single CD, it needs a few extra packages to be installed for proper functionality.
First add packages cdrdao and mkisofs using
'''sudo apt-get install cdrdao mkisofs'''.
Then download the package [http://ftp.tw.debian.org/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.0-4_i386.deb dvd+rw-tools_7.0-4_i386] from the Debian mirrors.
Run this command to install that package.
'''sudo dpkg -i dvd+rw-tools_7.0-4_i386.deb'''
Now your K3B is ready and you can run it from the KMenu.