Changeset 2cfb44a4 for kde4/intro/pre-install-config.xml
- Timestamp:
- 07/14/2012 10:38:15 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:
- 5ef6186
- Parents:
- f342c0a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde4/intro/pre-install-config.xml
rf342c0a9 r2cfb44a4 32 32 class='directory'>/opt</filename> hierarchy:</para> 33 33 34 <screen><userinput>export &kde-dir-var;=/opt/kde 4</userinput></screen>34 <screen><userinput>export &kde-dir-var;=/opt/kde</userinput></screen> 35 35 36 36 <para>If you are not installing <application>KDE</application> in … … 39 39 system or personal profile:</para> 40 40 41 <screen><userinput>cat > /etc/profile.d/kde 4.sh << "EOF"42 # Begin /etc/profile.d/kde 4.sh41 <screen><userinput>cat > /etc/profile.d/kde.sh << "EOF" 42 # Begin /etc/profile.d/kde.sh 43 43 44 &kde-dir-var;=/opt/kde4 45 KDE4DIR=&kde-dir; 44 &kde-dir-var;=/opt/kde 46 45 KDEDIR=&kde-dir; 47 46 … … 50 49 pathappend &kde-dir;/share/pkgconfig PKG_CONFIG_PATH 51 50 pathappend &kde-dir;/share XDG_DATA_DIRS 52 pathappend /etc/kde 4/xdg XDG_CONFIG_DIRS51 pathappend /etc/kde/xdg XDG_CONFIG_DIRS 53 52 54 export KDE4_PREFIX KDE4DIRKDEDIR53 export &kde-dir-var; KDEDIR 55 54 56 # End /etc/profile.d/kde 4.sh55 # End /etc/profile.d/kde.sh 57 56 EOF 58 57 </userinput></screen> … … 61 60 62 61 <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF" 63 <literal># Begin kde 4addition62 <literal># Begin kde addition 64 63 65 /opt/kde 4/lib64 /opt/kde/lib 66 65 67 # End kde 4addition</literal>66 # End kde addition</literal> 68 67 EOF</userinput></screen> 69 68 70 69 <indexterm zone="kde-pre-install-config"> 71 70 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary> 72 </indexterm>73 74 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>75 76 <screen role="root"><userinput>cat >> /etc/man_db.conf << "EOF"77 <literal># Begin kde4 addition78 79 MANDATORY_MANPATH /opt/kde4/man80 81 # End kde4 addition</literal>82 EOF</userinput></screen>83 84 <indexterm zone="kde-pre-install-config">85 <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>86 71 </indexterm> 87 72 … … 91 76 the following symlinks (as the <systemitem class="username">root</systemitem> user):</para> 92 77 93 <screen role="root"><userinput>install -d /opt/kde4/share &&94 ln -svf /usr/share/dbus-1 /opt/kde4/share &&95 ln -svf /usr/share/polkit-1 /opt/kde4/share</userinput></screen>78 <screen role="root"><userinput>install -d &kde-dir;/share && 79 ln -svf /usr/share/dbus-1 &kde-dir;/share && 80 ln -svf /usr/share/polkit-1 &kde-dir;/share</userinput></screen> 96 81 97 82 <para>D-Bus also needs to find the configuration files for the system-wide 98 83 bus, which, if you follow the books instructions, are installed in 99 <filename class="directory">/etc/kde 4/dbus-1/system.d</filename>.84 <filename class="directory">/etc/kde/dbus-1/system.d</filename>. 100 85 Fix this by issuing the following (as 101 86 <systemitem class="username">root</systemitem>):</para> … … 108 93 <busconfig> 109 94 110 <includedir>/etc/kde 4/dbus-1/system.d</includedir>95 <includedir>/etc/kde/dbus-1/system.d</includedir> 111 96 112 97 </busconfig></literal> … … 115 100 <tip> 116 101 <para>Sometimes, the installation paths are coded into installed files. 117 This is the reason why <filename class="directory">/opt/kde 4</filename>102 This is the reason why <filename class="directory">/opt/kde</filename> 118 103 is used as installation prefix instead of <filename 119 104 class="directory">/opt/kde-&kde-version;</filename>. After installing 120 <application>KDE 4</application>, you may rename the directory and create105 <application>KDE</application>, you may rename the directory and create 121 106 a symlink:</para> 122 107 123 <screen role="root"><userinput>mv /opt/kde{ 4,-&kde-version;} &&124 ln -svf kde-&kde-version; /opt/kde 4</userinput></screen>108 <screen role="root"><userinput>mv /opt/kde{,-&kde-version;} && 109 ln -svf kde-&kde-version; /opt/kde</userinput></screen> 125 110 126 111 <para>Later on, you may want to install other versions of 127 112 <application>KDE</application>. To do that, just remove the symlink and 128 use <filename class="directory">/opt/kde 4</filename> as the prefix again113 use <filename class="directory">/opt/kde</filename> as the prefix again 129 114 (<application>KDE</application> must not be started). Which version of 130 115 <application>KDE</application> you use depends only on where the symlink
Note:
See TracChangeset
for help on using the changeset viewer.