3 AUTHOR: Pascal Adami <pascal.adami@balcab.ch>
7 I would like to show you how to install KDE 3 with all required and
8 some optional packages. I assume that you've installed and configured
9 your Xfree86 with its depending packages (zlib for example). I don't
10 want to show you how to configure all the libraries and utilities
11 KDE can take advantage of, because this is documented in the BLFS book
12 (http://beyond.linuxfromscratch.org) or in other hints.
16 Download the required libraries KDE is going to use:
18 lcms-1.08.tar.gz (http://www.littlecms.com/)
19 jpegsrc.v6b.tar.gz (http://www.ijg.org/files/)
20 libpng-1.2.1.tar.gz (http://www.libpng.org/pub/png/src/)
21 tiff-v3.5.7.tar.gz (http://www.libtiff.org/)
22 libmng-1.0.3.tar.gz (http://www.libmng.com/downloadpublic.html)
23 pcre-3.9.tar.gz (http://pcre.sourceforge.net/src/)
24 audiofile-0.2.3.tar.gz (ftp://oss.sgi.com/projects/audiofile/download/)
25 libxml2-2.4.19.tar.gz (ftp://xmlsoft.org/)
26 libxslt-1.0.15.tar.gz (ftp://xmlsoft.org/)
27 qt-x11-free-3.0.3.tar.gz (ftp://ftp.trolltech.com/qt/source/)
29 Download optional packages KDE can take advantage of:
31 If you want SSL support:
32 openssl-0.9.6c.tar.gz (http://www.openssl.org/source/)
33 If you want to use all the visualization plugins of noatun:
34 SDL-1.2.3.tar.gz (http://www.libsdl.org/)
35 If you want to use Netscape plugins in Konqueror:
36 lesstif-0.93.18.tar.gz (http://www.lesstif.org/download.html)
37 If you want to encode audio CD's to mp3:
38 lame-3.91.tar.gz (http://www.mp3dev.org/mp3/download/download.html)
39 If you want to rip CD's:
40 cdparanoia-III-alpha9.8.src.tgz
41 (http://www.xiph.org/paranoia/download/)
42 If you have a scanner:
43 sane-backends-1.0.7.tar.gz (http://www.mostang.com/sane/source.html)
44 If you have a digital camera:
45 gphoto2-2.0.tar.gz (http://www.gphoto.org/dist/)
46 If you want an easy way to print:
47 cups-1.1.14-source.tar.gz (http://www.cups.org/software.html)
48 If you have a Palm Pilot:
49 pilot-link.0.9.5.tar.bz2 (http://www.pilot-link.org)
50 If you want to send bug reports to the KDE team:
51 gdb-5.1.1.tar.gz (ftp://ftp.gnu.org/pub/gnu/gdb/)
52 If you want to view postscript and PDF files:
53 ghostscript-6.53.tar.gz (ftp://ftp.gnu.org/pub/gnu/ghostscript/)
54 If you want to spell-check your texts:
56 (http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html)
57 If you want LDAP support for the KDE address book:
58 openldap-2.0.23.tgz (http://www.openldap.org/software/download/)
59 If you want to use KBabel (The translation tool):
60 db-4.0.14.tar.gz (http://www.sleepycat.com/download.html)
61 If you want to use the documentation for KDevelop:
62 htdig-3.1.6.tar.gz (http://www.htdig.org/where.html)
63 If you want KDE to monitor your motherboard:
64 lm_sensors-2.6.3.tar.gz (http://www.netroedge.com/~lm78/download.html)
65 If you want to access floppies in Konqueror (floppy://):
66 mtools-3.9.8.tar.gz (http://mtools.linux.lu/)
67 If you want to monitor file changes:
68 fam-2.6.7.tar.gz (http://oss.sgi.com/projects/fam/)
69 If you want to browse SMB shares in Konqueror:
70 libsmb-cvs-dec1999.tar.gz (http://nicolas.brodu.free.fr/libsmb/)
71 If you want to use PGP in K-mail:
72 gnupg-1.0.6.tar.gz (http://www.gnupg.org/download.html)
74 Download the KDE packages:
76 arts-1.0.0.tar.bz2 (ftp://ftp.kde.org/pub/kde/stable/3.0/src/)
79 kdemultimedia-3.0.tar.bz2
80 kdenetwork-3.0.tar.bz2
81 kdegraphics-3.0.tar.bz2
87 kdeartwork-3.0.tar.bz2
91 If you are a developer also download these packages:
94 kdebindings-3.0.tar.bz2
96 kdevelop-2.1_for_KDE_3.0.tar.bz2
98 If you want KDE in another language than English, download
99 the apropriate i18n package, for example if you want KDE in
102 kde-i18n-de-3.0.tar.bz2
104 And, last but not least, if you want a good office suite designed for KDE:
106 koffice-1.1.1-kde3.tar.bz2
107 (ftp://ftp.kde.org/pub/kde/stable/koffice-1.1.1-kde3/src/)
113 I use KDE 3's default path ("/opt/kde"). If you don't like it, you're free
114 to change the prefix option of the QT and the KDE packages. If you do so, be
115 sure that your library path is in your "/etc/ld.so.conf".
117 1. Add "/opt/kde/lib" and "/opt/kde/qt/lib" to your "/etc/ld.so.conf" and run
118 "ldconfig" after every package you've installed
119 2. add "QTDIR=/opt/kde/qt" to your profile
125 1. ./configure -prefix /opt/kde/qt -system-zlib -qt-gif -system-libpng \
126 -system-libjpeg -system-libmng -thread -no-g++-exceptions
132 "-prefix /opt/kde/qt" - This is the prefix where we want QT installed.
133 This is a new option as of version 3 of QT
134 "-system-*" - We want QT to be linked to the already installed
136 "-qt-gif" - We activate QT's own GIF implementation because
137 it can't use libungif
138 "-thread" - We compile QT with threading support. This is
140 "-no-g++-exceptions" - As we compile qith GCC this option is highly
147 First install arts, then kdelibs, kdebase and so on. IMHO the best order to
148 compile the packages is the list in the download section of the hint.
150 Compile each package using these commands (This works for Koffice too):
152 1. ./configure --disable-debug --enable-final --enable-fast-malloc=full
158 "disable-debug" - This makes the binaries a lot smaller and
159 isn't needed for general use.
160 "enable-final" - This makes the binaries smaller too and the
161 compilation process a lot faster.
162 "enable-fast-malloc=full" - This speeds up KDE
164 Remember to run "ldconfig" after each package. There's no need for
165 "--enable-prefix=" because the default of the configure script is "/opt/kde".
166 If you don't want to compile all programs of a package you can add
167 "--without-<name>". Replace <name> with the name of a subdirectory of a
170 If you don't need dialup networking you don't need kppp too, so
171 when configuring the kdenetwork package, it'll look like this:
172 ./configure --disable-debug --enable-final --enable-fast-malloc=full \
175 When you're finished with all the packages you need to edit your "~/.xinitrc"
176 file. It should contain "exec startkde".
178 You're finished, type "startx" and you'll see the cool KDE 3 splash screen!