[fc20429] | 1 | <sect1 id="kde-pre-install-config">
|
---|
| 2 | <?dbhtml filename="pre-install-config.html"?>
|
---|
| 3 | <title>Pre-installation configuration</title>
|
---|
| 4 |
|
---|
| 5 | <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
|
---|
| 6 |
|
---|
| 7 | <para>If <application><acronym>KDE</acronym></application> is your
|
---|
| 8 | desktop of choice:</para>
|
---|
| 9 |
|
---|
| 10 | <screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
|
---|
| 11 |
|
---|
| 12 | <para>If you want to try-out
|
---|
| 13 | <application><acronym>KDE</acronym></application>:</para>
|
---|
| 14 |
|
---|
| 15 | <screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
|
---|
| 16 |
|
---|
| 17 | <para>Remember to execute <command>ldconfig</command> after installation
|
---|
| 18 | of libraries to update the library cache.</para>
|
---|
| 19 |
|
---|
| 20 | <para>If you are not installing <acronym>KDE</acronym> in
|
---|
| 21 | <filename class="directory">/usr</filename> you will need to make some
|
---|
| 22 | configuration changes:</para>
|
---|
| 23 |
|
---|
| 24 | <para>Add to your system or personal profile:</para>
|
---|
| 25 |
|
---|
| 26 | <screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
|
---|
| 27 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
|
---|
| 28 |
|
---|
| 29 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
| 30 |
|
---|
| 31 | <screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
---|
| 32 | # Begin kde addition to /etc/ld.so.conf
|
---|
| 33 |
|
---|
| 34 | /opt/kde-&kde-version;/lib
|
---|
| 35 |
|
---|
| 36 | # End kde addition
|
---|
| 37 | <command>EOF</command></userinput></screen>
|
---|
| 38 |
|
---|
| 39 | <para>Add to your <filename>/etc/man.conf</filename>:</para>
|
---|
| 40 |
|
---|
| 41 | <screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
---|
| 42 | # Begin kde addition to man.conf
|
---|
| 43 |
|
---|
| 44 | MANPATH /opt/kde-&kde-version;/man
|
---|
| 45 |
|
---|
| 46 | # End kde addition to man.conf
|
---|
| 47 | <command>EOF</command></userinput></screen>
|
---|
| 48 |
|
---|
| 49 | <tip>
|
---|
| 50 | <para>If you prefer installing <acronym>KDE</acronym> in
|
---|
| 51 | <filename class="directory">/opt</filename>
|
---|
| 52 | one trick to avoid the above configuration changes every time you
|
---|
| 53 | install the new version is to replace
|
---|
| 54 | <filename class="directory">/opt/kde-&kde-version;</filename>
|
---|
| 55 | with <filename class="directory">/opt/kde</filename> and to create a symlink from
|
---|
| 56 | <filename class="directory">/opt/kde-&kde-version;</filename>
|
---|
| 57 | to <filename class="directory">/opt/kde</filename>.</para>
|
---|
| 58 | <screen><userinput><command>ln -sf kde-&kde-version; /opt/kde</command></userinput></screen>
|
---|
| 59 | </tip>
|
---|
| 60 |
|
---|
| 61 | </sect1>
|
---|