[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[fc20429] | 8 | <sect1 id="kde-pre-install-config">
|
---|
[a0f03b0] | 9 | <sect1info>
|
---|
[5cd0959d] | 10 | <othername>$LastChangedBy$</othername>
|
---|
| 11 | <date>$Date$</date>
|
---|
[a0f03b0] | 12 | </sect1info>
|
---|
[fc20429] | 13 | <?dbhtml filename="pre-install-config.html"?>
|
---|
| 14 | <title>Pre-installation configuration</title>
|
---|
| 15 |
|
---|
| 16 | <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
|
---|
| 17 |
|
---|
| 18 | <para>If <application><acronym>KDE</acronym></application> is your
|
---|
| 19 | desktop of choice:</para>
|
---|
| 20 |
|
---|
| 21 | <screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
|
---|
| 22 |
|
---|
| 23 | <para>If you want to try-out
|
---|
| 24 | <application><acronym>KDE</acronym></application>:</para>
|
---|
| 25 |
|
---|
| 26 | <screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
|
---|
| 27 |
|
---|
| 28 | <para>Remember to execute <command>ldconfig</command> after installation
|
---|
| 29 | of libraries to update the library cache.</para>
|
---|
| 30 |
|
---|
| 31 | <para>If you are not installing <acronym>KDE</acronym> in
|
---|
[dcd8072] | 32 | <filename class="directory">/usr</filename>, you will need to make some
|
---|
[fc20429] | 33 | configuration changes:</para>
|
---|
| 34 |
|
---|
[1986ade] | 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 <acronym>KDE</acronym> menu system.</para>
|
---|
| 41 |
|
---|
[fc20429] | 42 | <para>Add to your system or personal profile:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
|
---|
| 45 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
---|
| 50 | # Begin kde addition to /etc/ld.so.conf
|
---|
| 51 |
|
---|
| 52 | /opt/kde-&kde-version;/lib
|
---|
| 53 |
|
---|
| 54 | # End kde addition
|
---|
| 55 | <command>EOF</command></userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para>Add to your <filename>/etc/man.conf</filename>:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
---|
| 60 | # Begin kde addition to man.conf
|
---|
| 61 |
|
---|
| 62 | MANPATH /opt/kde-&kde-version;/man
|
---|
| 63 |
|
---|
| 64 | # End kde addition to man.conf
|
---|
| 65 | <command>EOF</command></userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <tip>
|
---|
| 68 | <para>If you prefer installing <acronym>KDE</acronym> in
|
---|
[dcd8072] | 69 | <filename class="directory">/opt</filename>, one trick to avoid the
|
---|
| 70 | above configuration changes every time you
|
---|
[1986ade] | 71 | install a new version is to replace
|
---|
[fc20429] | 72 | <filename class="directory">/opt/kde-&kde-version;</filename>
|
---|
| 73 | with <filename class="directory">/opt/kde</filename> and to create a symlink from
|
---|
| 74 | <filename class="directory">/opt/kde-&kde-version;</filename>
|
---|
| 75 | to <filename class="directory">/opt/kde</filename>.</para>
|
---|
[1986ade] | 76 |
|
---|
[fc20429] | 77 | <screen><userinput><command>ln -sf kde-&kde-version; /opt/kde</command></userinput></screen>
|
---|
| 78 | </tip>
|
---|
| 79 |
|
---|
| 80 | </sect1>
|
---|