source: kde4/intro/pre-install-config.xml@ 8bc3edae

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8bc3edae was 8bc3edae, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Added jfsutils-1.1.15.
Updated to xfsprogs-3.1.7.

Renamed device mapper to lvm2 and changed
the instructions to do a full lvm2 installation.
Moved lvm2 to the filesystems chapter.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9190 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="kde4-pre-install-config">
9 <?dbhtml filename="pre-install-config.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>KDE4 Pre-installation Configuration</title>
17
18 <sect2><title>Dependencies</title>
19
20 <para><application>KDE4</application> is a huge software collection
21 providing a desktop, tools for system and development tasks, and fun and
22 educational programs. It makes use of a tremendous amount of non-KDE
23 packages. While nearly all of those packages are optional, some others are
24 are highly recommended.</para>
25
26 <para>The following list of packages should give you an overview about
27 those packages and you may want to consider installing them first.
28 Installing these packages will enable some useful features in the resulting
29 <application>KDE4</application> suite. Nevertheless the dependencies are
30 shown on each of the following pages.
31
32 <itemizedlist>
33 <listitem>
34
35 <para><ulink url="http://qjson.sourceforge.net">QJSON</ulink>
36 (http://qjson.sourceforge.net) - Qt library for handling JavaScript
37 objects. Unfortunatly, the release version 0.7.1 is to old to compile.
38 Alternativly use the current SVN sources or apply a patch to bring the
39 release to a usable status.</para>
40
41 <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
42 &amp;&amp; make &amp;&amp; make install</command> in its own build
43 directory.</para>
44
45 </listitem>
46
47 <listitem>
48
49 <para><ulink url="http://gpsd.berlios.de/">libgps</ulink>
50 (http://gpsd.berlios.de/) - interface to GPS devices (kdeedu)</para>
51 <para>Compile it the usual way <command>configure &amp;&amp; make
52 &amp;&amp; make install</command>.</para>
53
54 </listitem>
55
56 <listitem>
57
58 <para><ulink url="http://eigen.tuxfamily.org/">eigen2</ulink>
59 (http://eigen.tuxfamily.org/) - a C++ template library for linear
60 algebra</para>
61
62 <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
63 &amp;&amp; make &amp;&amp; make install</command>.</para>
64
65 </listitem>
66 <listitem>
67
68 <para><xref linkend="desktop-file-utils"/> - a few command line
69 utilities for working with desktop entries</para>
70
71 </listitem>
72 <listitem>
73
74 <para><ulink
75 url="http://www.riverbankcomputing.com/software/sip/intro">pySIP</ulink>
76 (http://www.riverbankcomputing.com/software/sip/intro) - Python Service
77 Integration Platform</para>
78
79 <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
80 make install</command>.</para>
81
82 </listitem>
83 <listitem>
84
85 <para><ulink
86 url="http://www.riverbankcomputing.com/software/pyqt/">pyQT4</ulink>
87 (http://www.riverbankcomputing.com/software/pyqt/) - Python interface
88 to Qt4 (kdebindings)</para>
89
90 <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
91 make install</command>.</para> </listitem>
92
93 <listitem>
94
95 <para><xref linkend="ruby"/> - Ruby language (kdebindings)</para>
96
97 </listitem>
98 <listitem>
99
100 <para><xref linkend="poppler"/> - Utility and library to show PDF files
101 (kdegraphics)</para>
102
103 <para>make sure the --enable-xpdf-headers switch is set</para>
104
105 </listitem>
106 <listitem>
107
108 <para><xref linkend="libical"/> - library handling calendar entries
109 (kdepimlibs)</para>
110
111 </listitem>
112
113 <listitem>
114
115 <para><ulink url="http://cyberelk.net/tim/data/pycups/">pyCUPS</ulink>
116 (http://cyberelk.net/tim/data/pycups/) - Python interface to CUPS
117 (kdeadmin)</para>
118
119 <para>Compile it with <command>make &amp;&amp; make
120 install</command>.</para>
121
122 </listitem>
123 <listitem>
124
125 <para><ulink
126 url="http://cyberelk.net/tim/data/system-config-printer/">system-config-printer</ulink>
127 (http://cyberelk.net/tim/data/system-config-printer/) - Printer config
128 (kdeadmin)</para>
129
130 <para>Compile it the usual way <command>configure &amp;&amp; make
131 &amp;&amp; make install</command>.</para>
132
133
134 </listitem>
135 <listitem>
136
137 <para><xref linkend="libidn"/> - en-/decode internationalized domain
138 names (kdenetwork)</para>
139
140 </listitem>
141 <listitem>
142
143 <para><xref linkend="polkit"/> - Policy handling (nearly all of
144 KDE)</para>
145
146 </listitem>
147 <listitem>
148
149 <para><xref linkend="consolekit"/> - Runtime dependency of
150 polkit</para>
151
152 </listitem>
153 <listitem>
154
155 <para>U-tools - udisks and upower instead of HAL</para>
156
157 <para>and all of its dependencies:
158 <xref linkend="libatasmart"/>,
159 <xref linkend="sg3_utils"/>,
160 <xref linkend="libffi"/>,
161 <xref linkend="acl"/>,
162 <xref linkend="gobject-introspection"/>,
163 <xref linkend="udev"/>,
164 <xref linkend="lvm2"/>,
165 <xref linkend="parted"/> and than
166 <xref linkend="udisks"/> and
167 <xref linkend="upower"/>
168 </para>
169
170 </listitem>
171 <listitem>
172
173 <para><xref linkend="libiodbc"/> - iODBC library</para>
174
175 </listitem>
176
177 <listitem>
178
179 <para><xref linkend="virtuoso"/> - a Universal Database</para>
180
181 </listitem>
182 <listitem>
183
184 <para><xref linkend="exiv2"/> - Image data processing library</para>
185
186 </listitem>
187 <listitem>
188
189 <para>RDF tools - Handling of RDF data</para>
190
191 <para>Including: <xref linkend="raptor"/>, <xref linkend="rasqal"/> and
192 <xref linkend="redland"/></para>
193
194 </listitem>
195 <listitem>
196
197 <para><xref linkend="clucene"/> - Text search engine</para>
198
199 </listitem>
200 <listitem>
201
202 <para><xref linkend="boost"/> - collection of free C++ libraries</para>
203
204 </listitem>
205 <listitem>
206
207 <para><xref linkend="qca"/> - Cryptographic library for Qt
208 platform</para>
209
210 </listitem>
211 <listitem>
212
213 <para><xref linkend="libdbusmenu-qt"/> - Qt interface to D-Bus
214 menue</para>
215
216 </listitem>
217 <listitem>
218
219 <para><xref linkend="soprano"/> - object-oriented C++/Qt4 framework for
220 RDF data</para>
221
222 </listitem>
223
224 <listitem>
225
226 <para><xref linkend="strigi"/> - Desktop indexing engine</para>
227
228 </listitem>
229 <listitem>
230
231 <para><ulink url="http://www.grantlee.org">Grantlee</ulink>
232 (http://www.grantlee.org) - a template system for Qt</para>
233
234 <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
235 &amp;&amp; make &amp;&amp; make install</command> in its own build
236 directory.</para>
237
238 </listitem>
239 </itemizedlist>
240 </para>
241 </sect2>
242
243 <sect2><title>Installing in /usr</title>
244
245 <para>One option is to put <application>KDE4</application> into the
246 <filename class='directory'>/usr</filename> hierarchy. This creates a
247 simpler setup but is more difficult to try multiple versions of
248 <application>KDE4</application>.</para>
249
250<screen><userinput>export &kde4-dir-var;=/usr</userinput></screen>
251 </sect2>
252
253 <sect2><title>Installing in /opt</title>
254
255 <para>A method of building multiple versions installs
256 <application>KDE4</application> in the <filename
257 class='directory'>/opt</filename> hierarchy:</para>
258
259<screen><userinput>export &kde4-dir-var;=/opt/kde4</userinput></screen>
260
261 <para>If you are not installing <application>KDE4</application> in
262 <filename class="directory">/usr</filename>, you will need to make some
263 additional configuration changes. Best practice is to add those to your
264 system or personal profile:</para>
265
266<screen><userinput>cat &gt; /etc/profile.d/kde4.sh &lt;&lt;"EOF"
267# Begin /etc/profile.d/kde4.sh
268
269&kde4-dir-var;=/opt/kde4
270KDE4DIR=&kde4-dir;
271KDEDIR=&kde4-dir;
272
273pathappend &kde4-dir;/bin PATH
274pathappend &kde4-dir;/lib/pkgconfig PKG_CONFIG_PATH
275pathappend &kde4-dir;/share/pkgconfig PKG_CONFIG_PATH
276pathappend &kde4-dir;/share XDG_DATA_DIRS
277pathappend /etc/kde4/xdg XDG_CONFIG_DIRS
278
279export KDE4_PREFIX KDE4DIR KDEDIR
280
281# End /etc/profile.d/kde4.sh
282EOF
283</userinput></screen>
284
285 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
286
287<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
288<literal># Begin kde4 addition to /etc/ld.so.conf
289
290/opt/kde4/lib
291
292# End kde4 addition</literal>
293EOF</userinput></screen>
294
295 <indexterm zone="kde4-pre-install-config">
296 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
297 </indexterm>
298
299 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
300
301<screen role="root"><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
302<literal># Begin kde4 addition to man_db.conf
303
304MANDATORY_MANPATH /opt/kde4/man
305
306# End kde4 addition to man_db.conf</literal>
307EOF</userinput></screen>
308
309 <indexterm zone="kde4-pre-install-config">
310 <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>
311 </indexterm>
312
313 <tip>
314
315 <para>Sometimes, the installation paths are coded into installed files.
316 This is the reason why <filename class="directory">/opt/kde4</filename>
317 is used as installation prefix instead of <filename
318 class="directory">/opt/kde-&kde4-version;</filename>. After installing
319 <application>KDE4</application>, you may rename the directory and create
320 a symlink:</para>
321
322<screen role="root"><userinput>mv /opt/kde{4,-&kde4-version;} &amp;&amp;
323ln -vsf kde-&kde4-version; /opt/kde4</userinput></screen>
324
325 <para>Later on, you may want to install other versions of
326 <application>KDE4</application>. To do that, just remove the symlink and
327 use <filename class="directory">/opt/kde4</filename> as ithe prefix again
328 (<application>KDE4</application> must not be started). Which version of
329 <application>KDE4</application> you use depends only on where the symlink
330 points to. No other reconfiguration will be needed.</para>
331
332 </tip>
333
334 </sect2>
335
336 <sect2><title>The QT4DIR variable</title>
337
338 <para>Some additional packages which are based on
339 <application>Qt4</application> will be installed. One of them is
340 <application>Phonon</application>, a direct replacement of the implementation
341 which comes with <application>Qt4</application>. It's recommended placing
342 such libraries in the same hierarchy where <application>Qt4</application>
343 itself resides. Later on, it is refered to as <envar>QT4DIR</envar>. If you have
344 placed <application>Qt4</application> in <filename
345 class='directory'>/usr</filename>, set <envar>QT4DIR</envar>:</para>
346
347<screen><userinput>export QT4DIR=/usr</userinput></screen>
348
349 <para>Alternativly, <application>Qt4</application> is often placed in the
350 <filename class='directory'>/opt</filename> hierarchy:</para>
351
352<screen><userinput>export QT4DIR=/opt/qt-&qt4-version;
353export PATH=$QT4DIR/bin:$PATH</userinput></screen>
354
355 </sect2>
356
357</sect1>
Note: See TracBrowser for help on using the repository browser.