[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[fc20429] | 8 | <sect1 id="kde-pre-install-config">
|
---|
[c201c951] | 9 | <?dbhtml filename="pre-install-config.html"?>
|
---|
[fc20429] | 10 |
|
---|
[c201c951] | 11 | <sect1info>
|
---|
| 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 14 | </sect1info>
|
---|
[fc20429] | 15 |
|
---|
[c201c951] | 16 | <title>KDE Pre-installation Configuration</title>
|
---|
[fc20429] | 17 |
|
---|
[c201c951] | 18 | <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
|
---|
[fc20429] | 19 |
|
---|
[c201c951] | 20 | <para>If <application>KDE</application> is your desktop of choice:</para>
|
---|
[fc20429] | 21 |
|
---|
[c201c951] | 22 | <screen><userinput>export KDE_PREFIX=/usr</userinput></screen>
|
---|
[fc20429] | 23 |
|
---|
[c201c951] | 24 | <para>If you want to try-out <application>KDE</application>:</para>
|
---|
[fc20429] | 25 |
|
---|
[c201c951] | 26 | <screen><userinput>export KDE_PREFIX=/opt/kde-&kde-version;</userinput></screen>
|
---|
[fc20429] | 27 |
|
---|
[c201c951] | 28 | <para>Remember to execute <command>ldconfig</command> after installation
|
---|
| 29 | of libraries to update the library cache.</para>
|
---|
[1986ade] | 30 |
|
---|
[c201c951] | 31 | <para>If you are not installing <application>KDE</application> in
|
---|
| 32 | <filename class="directory">/usr</filename>, you will need to make some
|
---|
| 33 | configuration changes:</para>
|
---|
[fc20429] | 34 |
|
---|
[c201c951] | 35 | <para>You should consider installing the <xref linkend="desktop-file-utils"/>
|
---|
| 36 | package. Though not required, this package will allow you to easily use
|
---|
| 37 | existing <filename>.desktop</filename> files in
|
---|
| 38 | <filename class='directory'>/usr/share/applications</filename> (and any other
|
---|
| 39 | locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
|
---|
| 40 | these applications to the <application>KDE</application> menu system.</para>
|
---|
[fc20429] | 41 |
|
---|
[c201c951] | 42 | <para>Add to your system or personal profile:</para>
|
---|
[fc20429] | 43 |
|
---|
[c201c951] | 44 | <screen><literal>export PATH=$PATH:/opt/kde-&kde-version;/bin
|
---|
| 45 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</literal></screen>
|
---|
| 46 |
|
---|
| 47 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
| 48 |
|
---|
| 49 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
| 50 | <literal># Begin kde addition to /etc/ld.so.conf
|
---|
[fc20429] | 51 |
|
---|
| 52 | /opt/kde-&kde-version;/lib
|
---|
| 53 |
|
---|
[c201c951] | 54 | # End kde addition</literal>
|
---|
| 55 | EOF</userinput></screen>
|
---|
[fc20429] | 56 |
|
---|
[c201c951] | 57 | <indexterm zone="kde-pre-install-config">
|
---|
| 58 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 59 | </indexterm>
|
---|
[fb31251] | 60 |
|
---|
[c201c951] | 61 | <para>Add to your <filename>/etc/man.conf</filename>:</para>
|
---|
[fc20429] | 62 |
|
---|
[c201c951] | 63 | <screen role="root"><userinput>cat >> /etc/man.conf << "EOF"
|
---|
| 64 | <literal># Begin kde addition to man.conf
|
---|
[fc20429] | 65 |
|
---|
| 66 | MANPATH /opt/kde-&kde-version;/man
|
---|
| 67 |
|
---|
[c201c951] | 68 | # End kde addition to man.conf</literal>
|
---|
| 69 | EOF</userinput></screen>
|
---|
[fb31251] | 70 |
|
---|
[c201c951] | 71 | <indexterm zone="kde-pre-install-config">
|
---|
| 72 | <primary sortas="e-etc-man.conf">/etc/man.conf</primary>
|
---|
| 73 | </indexterm>
|
---|
| 74 |
|
---|
| 75 | <tip>
|
---|
| 76 | <para>If you prefer installing KDE in <filename
|
---|
| 77 | class="directory">/opt</filename>, one trick to avoid the above configuration
|
---|
| 78 | changes every time you install a new version is to replace <filename
|
---|
| 79 | class="directory">/opt/kde-&kde-version;</filename> with <filename
|
---|
| 80 | class="directory">/opt/kde</filename> and to create a symlink from <filename
|
---|
| 81 | class="directory">/opt/kde-&kde-version;</filename> to <filename
|
---|
| 82 | class="directory">/opt/kde</filename>.</para>
|
---|
| 83 |
|
---|
| 84 | <screen role="root"><userinput>ln -v -sf kde-&kde-version; /opt/kde</userinput></screen>
|
---|
| 85 | </tip>
|
---|
[fc20429] | 86 |
|
---|
| 87 | </sect1>
|
---|