mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
5cd0959daa
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2592 af4574ff-66df-0310-9fd7-8a98e5e911e0
73 lines
2.5 KiB
XML
73 lines
2.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
]>
|
|
|
|
<sect1 id="kde-pre-install-config">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="pre-install-config.html"?>
|
|
<title>Pre-installation configuration</title>
|
|
|
|
<para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
|
|
|
|
<para>If <application><acronym>KDE</acronym></application> is your
|
|
desktop of choice:</para>
|
|
|
|
<screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
|
|
|
|
<para>If you want to try-out
|
|
<application><acronym>KDE</acronym></application>:</para>
|
|
|
|
<screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
|
|
|
|
<para>Remember to execute <command>ldconfig</command> after installation
|
|
of libraries to update the library cache.</para>
|
|
|
|
<para>If you are not installing <acronym>KDE</acronym> in
|
|
<filename class="directory">/usr</filename>, you will need to make some
|
|
configuration changes:</para>
|
|
|
|
<para>Add to your system or personal profile:</para>
|
|
|
|
<screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
|
|
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
|
|
|
|
<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
|
# Begin kde addition to /etc/ld.so.conf
|
|
|
|
/opt/kde-&kde-version;/lib
|
|
|
|
# End kde addition
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<para>Add to your <filename>/etc/man.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
|
# Begin kde addition to man.conf
|
|
|
|
MANPATH /opt/kde-&kde-version;/man
|
|
|
|
# End kde addition to man.conf
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<tip>
|
|
<para>If you prefer installing <acronym>KDE</acronym> in
|
|
<filename class="directory">/opt</filename>, one trick to avoid the
|
|
above configuration changes every time you
|
|
install the new version is to replace
|
|
<filename class="directory">/opt/kde-&kde-version;</filename>
|
|
with <filename class="directory">/opt/kde</filename> and to create a symlink from
|
|
<filename class="directory">/opt/kde-&kde-version;</filename>
|
|
to <filename class="directory">/opt/kde</filename>.</para>
|
|
<screen><userinput><command>ln -sf kde-&kde-version; /opt/kde</command></userinput></screen>
|
|
</tip>
|
|
|
|
</sect1>
|