source: kde/core/pre-install-config.xml@ 47e40b1

10.0 10.1 11.0 11.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 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 47e40b1 was 6732c094, checked in by Randy McMurchy <randy@…>, 15 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

  • Property mode set to 100644
File size: 3.4 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="kde-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>KDE Pre-installation Configuration</title>
17
18 <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
19
20 <para>One option is to put <application>KDE</application> into the
21 <filename class='directory'>/usr</filename> hierarchy. This creates
22 a simpler setup but is more difficult to try multiple versions
23 of <application>KDE</application>.</para>
24
25<screen><userinput>export KDE_PREFIX=/usr</userinput></screen>
26
27 <para>A method of building multiple versions installs
28 <application>KDE</application> in the <filename
29 class='directory'>/opt</filename> hierarchy:</para>
30
31<screen><userinput>export KDE_PREFIX=/opt/kde-&kde-version;</userinput></screen>
32
33 <para>Remember to execute <command>ldconfig</command> after installation
34 of libraries to update the library cache.</para>
35
36 <para>If you are not installing <application>KDE</application> in
37 <filename class="directory">/usr</filename>, you will need to make some
38 configuration changes:</para>
39
40 <para>You should consider installing the <xref linkend="desktop-file-utils"/>
41 package. Though not required, this package will allow you to easily use
42 existing <filename>.desktop</filename> files in
43 <filename class='directory'>/usr/share/applications</filename> (and any other
44 locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
45 these applications to the <application>KDE</application> menu system.</para>
46
47 <para>Add to your system or personal profile:</para>
48
49<screen><literal>export PATH=$PATH:/opt/kde-&kde-version;/bin
50export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</literal></screen>
51
52 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
53
54<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
55<literal># Begin kde addition to /etc/ld.so.conf
56
57/opt/kde-&kde-version;/lib
58
59# End kde addition</literal>
60EOF</userinput></screen>
61
62 <indexterm zone="kde-pre-install-config">
63 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
64 </indexterm>
65
66 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
67
68<screen role="root"><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
69<literal># Begin kde addition to man_db.conf
70
71MANDATORY_MANPATH /opt/kde-&kde-version;/man
72
73# End kde addition to man_db.conf</literal>
74EOF</userinput></screen>
75
76 <indexterm zone="kde-pre-install-config">
77 <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>
78 </indexterm>
79
80 <tip>
81 <para>If you prefer installing KDE in <filename
82 class="directory">/opt</filename>, one trick to avoid the above configuration
83 changes every time you install a new version is to replace <filename
84 class="directory">/opt/kde-&kde-version;</filename> with <filename
85 class="directory">/opt/kde</filename> and to create a symlink from <filename
86 class="directory">/opt/kde-&kde-version;</filename> to <filename
87 class="directory">/opt/kde</filename>.</para>
88
89<screen role="root"><userinput>ln -v -sf kde-&kde-version; /opt/kde</userinput></screen>
90 </tip>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.