0
Thanks

A few words of thanks would be greatly appreciated.

Linux - Installing KDE 3.5.4 with Konstruct


A nice tip from lami20j ,describing the steps to install KDE3.5.4 on a desktop pc.

  • Configuration :(OS Mandriva PowerPack 2006 6CDs version ; PIII 900 Mhz with 256 SDRAM )


The gar.conf.mk file contains variables that can be modified according to your preferences.

  • However we will not change anything but use the variable:
GARCHIVEDIR=$(HOME)/kde3.5.4-sources   

*

    • to download the sources for kde.
  • The default configuration will suit in most cases.

$ mkdir /home/username/src  
$ cd /home/username/src  
$ wget developer.kde.org/build/konstruct/stable/konstruct-stable.tar.bz2

$ mkdir /home/username/kde3.5.4-sources  
$ cd /home/username/kde3.5.4-sources  
$ wget fr2.rpmfind.net/linux/KDE/stable/3.5.4/src/*tar.bz2  
From now the  /home/username/kde3.4.5-sources folder, will contain the sources.  
$ ls -1 /home/username/kde3.5.4-sources  
arts-1.5.4.tar.bz2  
kdeaccessibility-3.5.4.tar.bz2  
kdeaddons-3.5.4.tar.bz2  
kdeadmin-3.5.4.tar.bz2  
kdeartwork-3.5.4.tar.bz2  
kdebase-3.5.4.tar.bz2  
kdebindings-3.5.4.tar.bz2  
kdeedu-3.5.4.tar.bz2  
kdegames-3.5.4.tar.bz2  
kdegraphics-3.5.4.tar.bz2  
kdelibs-3.5.4.tar.bz2  
kdemultimedia-3.5.4.tar.bz2  
kdenetwork-3.5.4.tar.bz2  
kdepim-3.5.4.tar.bz2  
kdesdk-3.5.4.tar.bz2  
kdetoys-3.5.4.tar.bz2  
kdeutils-3.5.4.tar.bz2  
kdevelop-3.3.4.tar.bz2  
kdewebdev-3.5.4.tar.bz2

  • You do not have to download sources.
  • They are automatically downloaded during installation.


You can choose full installation. In the README you will find other options

$ cd /home/username/src  
$ tar xjvf konstruct-stable.tar.bz2  
$ cd konstruct/meta/kde  
$ make install  


During installation you can also install the following dependencies:

$ urpmi libaspell15-devel  
$ urpmi libbzip2_1-devel  
$ urpmi gssapi  
$ urpmi imlib-devel  

Once installation is complete Iyoou can edit the file /home/username/.bashrc

And add the following lines

export QTDIR=~/kde3.5.4  
export KDEDIR=~/kde3.5.4  
export KDEDIRS=~/kde3.5.4  
export LD_LIBRARY_PATH=~/kde3.5.4/lib  
export PATH=~/kde3.5.4/bin:$PATH  
export KDEHOME=~/.kdetest  
Create the following file .xinitrc  
echo "startkde" >> /home/username/.xinitrc  

startx


At this point there are several questions that may arise:

If I have multiple users,the kde3.5.4 670M file must be present in each directory?

The answer is no.

To be added in /etc/profile:

export QTDIR=/home/lami20j/kde3.5.4
export KDEDIR=/home/lami20j/kde3.5.4
export KDEDIRS=/home/lami20j/kde3.5.4
export LD_LIBRARY_PATH=/home/lami20j/kde3.5.4/lib
export PATH=/home/lami20j/kde3.5.4/bin:$PATH

- For each user

echo "export KDEHOME=~/.kdetest" >> ~/.bashrc
echo "startkde" >> ~/.xinitrc

Restart with startx

  • If the installation is interrupted because of a failed connection simply retype make install and the installation will resume.
  • If the installation stops because of a dependency simply install the dependency and retype make install and the installation will resume.
  • The installation time depends on several factors: your connection, server availability, your availability.
  • Remember that the installation can be resumed after an interruption.
  • If you want to keep track of your intallation process and the errors that occu you can use the command (see Step 4)
    • make install > ~/konstruct_log 2>&1 
  • But in this case there will be no display on STDOUT.
  • To view the process you can read the file konstruct_log in another shell (or shell tab) with the command
    • tail -f ~/konstruct_log 
  • ~ Is an abbreviation for the personnel file.
  • If it is causing you problems rather use/home/user

0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Linux - Installing KDE 3.5.4 with Konstruct », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).