[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[16e35d5] | 2 | <!DOCTYPE partintro PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
[ff769b8c] | 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[a90533f0] | 8 | <partintro>
|
---|
[2a5ecb3] | 9 |
|
---|
[15a1fed9] | 10 | <title>Introduction to GNOME</title>
|
---|
[a90533f0] | 11 |
|
---|
[15a1fed9] | 12 | <para>This chapter presents the instructions to install a complete
|
---|
[998dcf8] | 13 | GNOME-&gnome-version;&gnome-minor-version; desktop environment; and a limited
|
---|
| 14 | GNOME 1.4 library environment that is sufficient to run GNOME 1.4
|
---|
| 15 | applications included in this book. The order of the pages follows the build
|
---|
| 16 | order defined by the GNOME development team and documented in the <ulink
|
---|
| 17 | url="http://www.gnome.org/start/&gnome-version;/notes/en/rninstallation.html">
|
---|
| 18 | Release Notes</ulink>.</para>
|
---|
[a90533f0] | 19 |
|
---|
[998dcf8] | 20 | <para>The installation of GNOME-&gnome-version;&gnome-minor-version; is a
|
---|
| 21 | large undertaking and one we would like to see you complete with the least
|
---|
| 22 | amount of stress. One of the first goals in this installation is to protect
|
---|
| 23 | your previously installed software, especially if you are testing GNOME on
|
---|
| 24 | your machine. GNOME-&gnome-version; packages utilize the
|
---|
[16e35d5] | 25 | <option>--prefix=option</option> passed to <command>configure</command>,
|
---|
| 26 | so you will use that and an environment variable (<envar>GNOME_PREFIX</envar>)
|
---|
| 27 | to add flexibility to the installation.</para>
|
---|
[e7c62229] | 28 |
|
---|
[998dcf8] | 29 | <para>To install GNOME as your desktop of choice, it is recommended that you
|
---|
| 30 | install using <option>--prefix=/usr</option>. If you are not sure that you
|
---|
| 31 | are going to keep the GNOME installation, or you think you will update to the
|
---|
| 32 | newest releases as they become available, you should install with
|
---|
[9761bea4] | 33 | <option>--prefix=/opt/gnome-&gnome-version;&gnome-minor-version;</option>.
|
---|
| 34 | Setting the environment variable and the additional edits required by the
|
---|
| 35 | second option are covered in the Pre-Installation Configuration
|
---|
| 36 | section.</para>
|
---|
[5407cf7] | 37 |
|
---|
[15a1fed9] | 38 | <para>If you choose the second option, removal of
|
---|
[998dcf8] | 39 | GNOME-&gnome-version;&gnome-minor-version; is as easy as removing the edits
|
---|
| 40 | from the pre-installation page and issuing the following command (you may
|
---|
| 41 | need to become the <systemitem class='username'>root</systemitem>
|
---|
| 42 | user):</para>
|
---|
[5407cf7] | 43 |
|
---|
[9761bea4] | 44 | <screen role="root"><userinput>rm -rf /opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
---|
[a90533f0] | 45 |
|
---|
[16e35d5] | 46 | <para>If your system was completely built per LFS and BLFS instructions,
|
---|
| 47 | you have a very good chance of using
|
---|
[998dcf8] | 48 | GNOME-&gnome-version;&gnome-minor-version; after your first installation. If
|
---|
| 49 | you are a typical LFS user, you have made modifications to the instructions
|
---|
| 50 | along the way knowing that you have to take those modifications into account
|
---|
| 51 | on future installations. You should have no problems integrating
|
---|
| 52 | GNOME-&gnome-version;&gnome-minor-version; into your unique setup, but you
|
---|
| 53 | will have to install well over 50 packages before you can run GNOME through
|
---|
| 54 | any testing (assuming your windowing system is preinstalled and tested). You
|
---|
| 55 | should anticipate that you will be rebuilding GNOME at least once to make
|
---|
| 56 | adjustments for your setup.</para>
|
---|
[a90533f0] | 57 |
|
---|
[998dcf8] | 58 | <para>If you are building a GNOME 1.4 library environment, you would install
|
---|
| 59 | only those libraries in the GNOME 1.4 chapter
|
---|
| 60 | <emphasis role='strong'>and</emphasis> any dependencies listed on those
|
---|
| 61 | pages, whether labeled or not. GNOME packages without pages in the book are
|
---|
| 62 | simply installed with:</para>
|
---|
[15a1fed9] | 63 |
|
---|
[01bf7b38] | 64 | <screen><userinput>./configure --prefix=/opt/gnome-1.4 &&
|
---|
[15a1fed9] | 65 | make</userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
| 68 |
|
---|
| 69 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 70 |
|
---|
[16e35d5] | 71 | <para>These instructions are simplistic to facilitate removal of
|
---|
[998dcf8] | 72 | GNOME 1.4 from BLFS systems when it is no longer necessary. These
|
---|
| 73 | instructions may be refined later to comply with BLFS standards for file
|
---|
| 74 | locations, specifically
|
---|
[16e35d5] | 75 | <filename class='directory'>/opt/gnome/etc</filename> to
|
---|
| 76 | <filename class='directory'>/etc</filename> and
|
---|
| 77 | <filename class='directory'>/opt/gnome/var</filename> to
|
---|
| 78 | <filename class='directory'>/var</filename>. You should consider using
|
---|
[998dcf8] | 79 | the GNOME 1.4 hint located at <ulink url="&hints-root;"/> if you have no
|
---|
| 80 | interest in GNOME-&gnome-version;&gnome-minor-version;.</para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect3">Alternate Installation Methods</bridgehead>
|
---|
| 83 | <para>As was previously mentioned, building a GNOME desktop from sources is
|
---|
| 84 | a significant project. Some may find it too tedious or time-consuming to
|
---|
| 85 | perform a full installation following the BLFS book. You may wish to review
|
---|
| 86 | the automated methods mentioned in the
|
---|
[9761bea4] | 87 | GNOME-&gnome-version; <ulink
|
---|
[998dcf8] | 88 | url="http://www.gnome.org/start/2.14/notes/en/rninstallation.html">Release
|
---|
| 89 | Notes</ulink>. Note that using any other method to install
|
---|
| 90 | GNOME-&gnome-version;&gnome-minor-version; other than using the BLFS
|
---|
| 91 | instructions cannot be supported by the BLFS team. Alternate methods are only
|
---|
| 92 | mentioned as a courtesy to builders who would like to build GNOME from
|
---|
| 93 | sources but do not have the time/desire/patience/whatever to follow the
|
---|
| 94 | BLFS book.</para>
|
---|
[78051a3] | 95 |
|
---|
[a90533f0] | 96 | </partintro>
|
---|