[f45b1953] | 1 | <partintro>
|
---|
[4ee53fa2] | 2 | <title>Introduction to <acronym>KDE</acronym></title>
|
---|
[f45b1953] | 3 |
|
---|
[4ee53fa2] | 4 | <para><acronym>KDE</acronym> is a comprehensive desktop environment that builds on
|
---|
[1fdbdb4] | 5 | <application>XFree86</application> and <application>Qt</application> to provide
|
---|
[f45b1953] | 6 | a window manager and many user tools, including a browser, word processor,
|
---|
[4ee53fa2] | 7 | spreadsheet, presentation package, games, and numerous other utilities. It
|
---|
[b77b166f] | 8 | provides extensive capabilities for customization.</para>
|
---|
[f45b1953] | 9 |
|
---|
[faf4095] | 10 | <para>We divide the <acronym>KDE</acronym> instructions into two parts. The first part, the
|
---|
[4ee53fa2] | 11 | core packages, are needed for the rest of <acronym>KDE</acronym> to work. The second part
|
---|
[19e9cee] | 12 | presents additional packages which provide functionality in various areas
|
---|
[faf4095] | 13 | (multimedia, graphics etc).</para>
|
---|
[f45b1953] | 14 |
|
---|
[4ee53fa2] | 15 | <para><acronym>KDE</acronym> also has many internationalization packages in the form of:
|
---|
| 16 | <filename>kde-i18n-xx-&kde-version;.tar.bz2</filename>
|
---|
| 17 | where the xx is a two to five letter code for the country covered. We
|
---|
[f45b1953] | 18 | do not cover the installation of these packages here.</para>
|
---|
| 19 |
|
---|
[2dae8b3] | 20 | <para>There are two alternatives for installing <acronym>KDE</acronym>. Option one, that
|
---|
| 21 | is used by most of the commercial distributions, is to
|
---|
| 22 | install <acronym>KDE</acronym> in the standard system prefix: <filename>/usr</filename>.
|
---|
| 23 | This option allows the use of KDE without the need for any additional configuration such
|
---|
| 24 | as modification of various environment variables or configuration files. Option two is
|
---|
| 25 | to 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
|
---|
| 27 | the package.</para>
|
---|
| 28 |
|
---|
| 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>
|
---|
| 34 |
|
---|
| 35 | <para>Remember to execute <command>ldconfig</command> after installation of libraries to
|
---|
| 36 | update the library cache.</para>
|
---|
| 37 |
|
---|
| 38 | <para>If you are not installing <acronym>KDE</acronym> in <filename>/usr</filename> you will need to make some
|
---|
| 39 | configuration changes:</para>
|
---|
| 40 |
|
---|
| 41 | <para>Add to your system or personal profile:</para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
|
---|
| 44 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
| 47 |
|
---|
| 48 | <screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
---|
| 49 | # Begin kde addition to /etc/ld.so.conf
|
---|
| 50 |
|
---|
| 51 | /opt/kde-&kde-version;/lib
|
---|
| 52 |
|
---|
| 53 | # End kde addition
|
---|
| 54 | <command>EOF</command></userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <para>Add to your <filename>/etc/man.conf</filename>:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
---|
| 59 | # Begin kde addition to man.conf
|
---|
| 60 |
|
---|
| 61 | MANPATH /opt/kde-&kde-version;/man
|
---|
| 62 |
|
---|
| 63 | # End kde addition to man.conf
|
---|
| 64 | <command>EOF</command></userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <tip>
|
---|
| 67 | <para>If you prefer installing <acronym>KDE</acronym> in <filename>/opt</filename>
|
---|
| 68 | one trick to avoid the above configuration changes is to replace <filename>/opt/kde-&kde-version;</filename>
|
---|
| 69 | with <filename>/opt/kde</filename> and to create a symlink from <filename>/opt/kde-&kde-version;</filename>
|
---|
| 70 | to <filename>/opt/kde</filename>.</para>
|
---|
| 71 | <screen><userinput><command>ln -sf &kde-version; /opt/kde</command></userinput></screen>
|
---|
| 72 | </tip>
|
---|
| 73 |
|
---|
| 74 | <tip>
|
---|
[171f4ef6] | 75 | <para>All the <acronym>KDE</acronym> packages are comprised of various components.
|
---|
| 76 | The default is to
|
---|
[adb78ee] | 77 | install most of the components. If specific components are to be eliminated, the
|
---|
[1fdbdb4] | 78 | official way is to set the variable <envar>DO_NOT_COMPILE</envar>.
|
---|
[adb78ee] | 79 | This comes in handy when there are problems compiling a particular
|
---|
| 80 | component.</para>
|
---|
| 81 |
|
---|
[4ee53fa2] | 82 | <screen><userinput><command>DO_NOT_COMPILE="component1 component2" \
|
---|
[1fdbdb4] | 83 | ./configure --prefix=/opt/kde...</command></userinput></screen>
|
---|
[adb78ee] | 84 |
|
---|
[4ee53fa2] | 85 | <para>The core <acronym>KDE</acronym> packages also honor this variable, but omitting components
|
---|
[adb78ee] | 86 | from the core packages is not advisable since it may result in an
|
---|
[4ee53fa2] | 87 | incomplete <acronym>KDE</acronym> installation.</para>
|
---|
[2dae8b3] | 88 | </tip>
|
---|
[adb78ee] | 89 |
|
---|
[2dae8b3] | 90 | <note><para>In each of the packages,
|
---|
| 91 | one other option to <command>configure</command> can be added:
|
---|
| 92 | <parameter>--enable-final</parameter>. This option can speed up the build
|
---|
| 93 | process, but requires a lot of memory. If you have less than 256MB of RAM,
|
---|
| 94 | this option may cause swapping and significantly slow compilation.</para></note>
|
---|
[6b82375f] | 95 |
|
---|
[f45b1953] | 96 | </partintro>
|
---|