Typo
[linux_from_scratch_hints.git] / OLD / kde3.txt
blob68602ace6838a7e67cb73dd5e7b82ec49fc2c8e0
1 TITLE:          KDE 3.0
2 LFS-VERSION:    3.3
3 AUTHOR:         Pascal Adami <pascal.adami@balcab.ch>
5 SYNOPSIS:
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. 
14 HINT:
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:
30         
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:
55         ispell-3.2.06.tar.gz 
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/)
77         kdelibs-3.0.tar.bz2
78         kdebase-3.0.tar.bz2
79         kdemultimedia-3.0.tar.bz2
80         kdenetwork-3.0.tar.bz2
81         kdegraphics-3.0.tar.bz2
82         kdepim-3.0.tar.bz2
83         kdeadmin-3.0.tar.bz2
84         kdegames-3.0.tar.bz2
85         kdeutils-3.0.tar.bz2
86         kdeedu-3.0.tar.bz2
87         kdeartwork-3.0.tar.bz2
88         kdetoys-3.0.tar.bz2
89         kdeaddons-3.0.tar.bz2
91 If you are a developer also download these packages:
93         kdoc-2.0a54.tar.bz2
94         kdebindings-3.0.tar.bz2
95         kdesdk-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
100 German, download:
102         kde-i18n-de-3.0.tar.bz2
103         
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/)
109 --------------
111 KDE prerequisites:
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
121 --------------
123 Installing QT:
125 1. ./configure -prefix /opt/kde/qt -system-zlib -qt-gif -system-libpng \
126    -system-libjpeg -system-libmng -thread -no-g++-exceptions
127 2. make
128 3. make install
130 Explanations:
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
135                         libraries
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 
139                         required for KDE
140 "-no-g++-exceptions"    - As we compile qith GCC this option is highly
141                         recommended
143 --------------
145 Installing KDE 3.0:
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
153 2. make
154 3. make install
156 Explanations:
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
168 package. An example:
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 \
173         --without-kppp
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!