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