Changeset 2dae8b3 for kde/kde-intro.xml

05/23/2004 06:09:58 AM (19 years ago)
Tushar Teredesai <tushar@…>
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, kea, ken/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal

Use envvar KDE_PREFIX for kde installation

git-svn-id: svn:// af4574ff-66df-0310-9fd7-8a98e5e911e0

1 edited


  • kde/kde-intro.xml

    r48d4c920 r2dae8b3  
    1313(multimedia, graphics etc).</para>
    15 <para>As the instructions for compiling and installing <acronym>KDE</acronym> were developed,
    16 the options to <command>configure</command> were examined and the parameters
    17 presented are the most likely to compile correctly. In each of the packages,
    18 one other option to <command>configure</command> can be added:
    19 <parameter>--enable-final</parameter>. This option can speed up the build
    20 process, but requires a lot of memory. If you have less than 256MB of RAM,
    21 this option may cause swapping and significantly slow compilation.</para>
    2315<para><acronym>KDE</acronym> also has many internationalization packages in the form of:
    2618do not cover the installation of these packages here.</para>
     20<para>There are two alternatives for installing <acronym>KDE</acronym>. Option one, that
     21is used by most of the commercial distributions, is to
     22install <acronym>KDE</acronym> in the standard system prefix: <filename>/usr</filename>.
     23This option allows the use of KDE without the need for any additional configuration such
     24as modification of various environment variables or configuration files. Option two is
     25to install it in a unique prefix such as <filename>/opt/kde</filename> or
     26<filename>/opt/kde-&kde-version;</filename>. This option allows for easy removal of
     27the package.</para>
     29<para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
     30<para>If <application><acronym>KDE</acronym></application> is your desktop of choice:</para>
     31<screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
     32<para>If you want to try-out <application><acronym>KDE</acronym></application>:</para>
     33<screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
     35<para>Remember to execute <command>ldconfig</command> after installation of libraries to
     36update the library cache.</para>
     38<para>If you are not installing <acronym>KDE</acronym> in <filename>/usr</filename> you will need to make some
     39configuration changes:</para>
     41<para>Add to your system or personal profile:</para>
     43<screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
     44export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
     46<para>Add to your <filename>/etc/</filename>:</para>
     48<screen><userinput><command>cat &gt;&gt; /etc/ &lt;&lt; "EOF"</command>
     49# Begin kde addition to /etc/
     53# End kde addition
     56<para>Add to your <filename>/etc/man.conf</filename>:</para>
     58<screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
     59# Begin kde addition to man.conf
     61MANPATH /opt/kde-&kde-version;/man
     63# End kde addition to man.conf
     67<para>If you prefer installing <acronym>KDE</acronym> in <filename>/opt</filename>
     68one trick to avoid the above configuration changes is to replace <filename>/opt/kde-&kde-version;</filename>
     69with <filename>/opt/kde</filename> and to create a symlink from <filename>/opt/kde-&kde-version;</filename>
     70to <filename>/opt/kde</filename>.</para>
     71<screen><userinput><command>ln -sf &kde-version; /opt/kde</command></userinput></screen>
    2875<para>All the <acronym>KDE</acronym> packages are comprised of various components.
    2976The default is to
    3986from the core packages is not advisable since it may result in an
    4087incomplete <acronym>KDE</acronym> installation.</para>
    42 <note><para><acronym>KDE</acronym> is a large and complicated set of packages.  In
    43 some cases, users have found fixes that have not made it into the official KDE
    44 sources yet.  If you have a problem with a specific application, take a look at
    45 the patches in <filename>*</filename>.
    46 The current patches will have the version number, &kde-version;, as a part of their
    47 filename.</para></note>
     90<note><para>In each of the packages,
     91one other option to <command>configure</command> can be added:
     92<parameter>--enable-final</parameter>. This option can speed up the build
     93process, but requires a lot of memory. If you have less than 256MB of RAM,
     94this option may cause swapping and significantly slow compilation.</para></note>
Note: See TracChangeset for help on using the changeset viewer.