Changeset a8d5ef7 for kde/core/pre-install-config.xml
- Timestamp:
- 12/21/2011 04:45:39 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 09eebec
- Parents:
- 3863533e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/core/pre-install-config.xml
r3863533e ra8d5ef7 14 14 </sect1info> 15 15 16 <title> KDEPre-installation Configuration</title>16 <title>Trinity/KDE3 Pre-installation Configuration</title> 17 17 18 <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para> 18 <para>Based on your preference, set TRINITY_PREFIX.</para> 19 20 <para>One option is to put <application>Trinity/KDE3</application> into the 21 <filename class='directory'>/usr</filename> hierarchy. This creates a 22 simpler setup but is more difficult to try multiple versions of 23 <application>Trinity/KDE3</application>.</para> 19 24 20 <para>One option is to put <application>KDE</application> into the 21 <filename class='directory'>/usr</filename> hierarchy. This creates 22 a simpler setup but is more difficult to try multiple versions 23 of <application>KDE</application>.</para> 25 <screen><userinput>export TRINITY_PREFIX=/usr</userinput></screen> 24 26 25 <screen><userinput>export KDE_PREFIX=/usr</userinput></screen> 27 <para>The Trinty developers and BLFS editors recommend installing Trinity in 28 the <filename class='directory'>/opt</filename> directory in order to support 29 using one version while building another.</para> 26 30 27 <para>A method of building multiple versions installs 28 <application>KDE</application> in the <filename 29 class='directory'>/opt</filename> hierarchy:</para> 31 <screen><userinput>export TRINITY_PREFIX=/opt/trinity-&trinity-version;</userinput></screen> 30 32 31 <screen><userinput>export KDE_PREFIX=/opt/kde-&kde-version;</userinput></screen> 33 <para>Using this option requires updates to the PATH, PKG_CONFIG_PATH, and 34 library search path:</para> 32 35 33 <para>Remember to execute <command>ldconfig</command> after installation 34 of libraries to update the library cache.</para> 36 <itemizedlist> 37 <listitem> 38 <para>Update PATH</para> 39 <screen><userinput>export PATH=$TRINITY_PREFIX/bin:$PATH</userinput></screen> 40 </listitem> 35 41 36 <para>If you are not installing <application>KDE</application> in 37 <filename class="directory">/usr</filename>, you will need to make some 38 configuration changes:</para> 42 <listitem> 43 <para>Update PKG_CONFIG_PATH</para> 44 <screen><userinput>export PKG_CONFIG_PATH=$TRINITY_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH</userinput></screen> 45 </listitem> 39 46 40 <para>You should consider installing the <xref linkend="desktop-file-utils"/> 47 <listitem> 48 <para>Update the library search path</para> 49 <screen><userinput>export LD_LIBRARY_PATH=$TRINITY_PREFIX/lib:$LD_LIBRARY_PATH</userinput></screen> 50 </listitem> 51 52 </itemizedlist> 53 54 <para>The instructions for making these changes permanent are in 55 <xref linkend='kde-core-config'/>.</para> 56 57 <para>There are two other environment variables that need to be set to build 58 <application>Trinity/KDE3</application>. These are needed for all the 59 <userinput>cmake</userinput> based packages:</para> 60 61 <screen><userinput>export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX && 62 63 CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 && 64 export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include</userinput></screen> 65 66 <para>You should also consider installing the <xref linkend="desktop-file-utils"/> 41 67 package. Though not required, this package will allow you to easily use 42 68 existing <filename>.desktop</filename> files in 43 69 <filename class='directory'>/usr/share/applications</filename> (and any other 44 70 locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add 45 these applications to the <application>KDE</application> menu system.</para> 46 47 <para>Add to your system or personal profile:</para> 48 49 <screen><literal>export PATH=$PATH:/opt/kde-&kde-version;/bin 50 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</literal></screen> 51 52 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para> 53 54 <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF" 55 <literal># Begin kde addition to /etc/ld.so.conf 56 57 /opt/kde-&kde-version;/lib 58 59 # End kde addition</literal> 60 EOF</userinput></screen> 61 62 <indexterm zone="kde-pre-install-config"> 63 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary> 64 </indexterm> 65 66 <para>Add to your <filename>/etc/man_db.conf</filename>:</para> 67 68 <screen role="root"><userinput>cat >> /etc/man_db.conf << "EOF" 69 <literal># Begin kde addition to man_db.conf 70 71 MANDATORY_MANPATH /opt/kde-&kde-version;/man 72 73 # End kde addition to man_db.conf</literal> 74 EOF</userinput></screen> 75 76 <indexterm zone="kde-pre-install-config"> 77 <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary> 78 </indexterm> 79 80 <tip> 81 <para>If you prefer installing KDE in <filename 82 class="directory">/opt</filename>, one trick to avoid the above configuration 83 changes every time you install a new version is to replace <filename 84 class="directory">/opt/kde-&kde-version;</filename> with <filename 85 class="directory">/opt/kde</filename> and to create a symlink from <filename 86 class="directory">/opt/kde-&kde-version;</filename> to <filename 87 class="directory">/opt/kde</filename>.</para> 88 89 <screen role="root"><userinput>ln -v -sf kde-&kde-version; /opt/kde</userinput></screen> 90 </tip> 71 these applications to the menu system.</para> 91 72 92 73 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.