1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE partintro PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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 | <para>This chapter presents the instructions to install a complete
|
---|
13 | <application>GNOME</application>-&gnome-version;&gnome-minor-version;
|
---|
14 | desktop environment and a limited <application>GNOME</application> 1.4
|
---|
15 | library environment that is sufficient to run
|
---|
16 | <application>GNOME</application> 1.4 applications included in this book.
|
---|
17 | The order of the pages follow the build order defined by the
|
---|
18 | <application>GNOME</application> development team as published in previous
|
---|
19 | versions of the <ulink
|
---|
20 | url="http://www.gnome.org/start/&gnome-version;/notes/rninstallation.html">
|
---|
21 | release notes</ulink>. Note that the development team did not publish a
|
---|
22 | build order for the &gnome-version;&gnome-minor-version; release.</para>
|
---|
23 |
|
---|
24 | <para>The installation of
|
---|
25 | <application>GNOME</application>-&gnome-version;&gnome-minor-version;
|
---|
26 | is a large undertaking and one we would like to see you complete with the
|
---|
27 | least amount of stress. One of the first goals in this installation is to
|
---|
28 | protect your previously installed software, especially if you are testing
|
---|
29 | <application>GNOME</application> on your machine.
|
---|
30 | <application>GNOME</application>-&gnome-version; packages utilize the
|
---|
31 | <option>--prefix=option</option> passed to <command>configure</command>,
|
---|
32 | so you will use that and an environment variable (<envar>GNOME_PREFIX</envar>)
|
---|
33 | to add flexibility to the installation.</para>
|
---|
34 |
|
---|
35 | <para>To install <application>GNOME</application> as your desktop of choice,
|
---|
36 | it is recommended that you install using
|
---|
37 | <option>--prefix=/usr</option>. If you are not sure that you are going
|
---|
38 | to keep the <application>GNOME</application> installation, or you think you
|
---|
39 | will update to the newest releases as they become available, you should
|
---|
40 | install with <option>--prefix=/opt/gnome-&gnome-version;</option>.
|
---|
41 | Setting the environment variable and the additional edits required by the
|
---|
42 | second option are covered on the pre-installation page.</para>
|
---|
43 |
|
---|
44 | <para>If you choose the second option, removal of
|
---|
45 | <application>GNOME</application>-&gnome-version;&gnome-minor-version; is as
|
---|
46 | easy as removing the edits from the pre-installation page and issuing the
|
---|
47 | following command:</para>
|
---|
48 |
|
---|
49 | <screen role="root"><userinput>rm -rf /opt/gnome-&gnome-version;</userinput></screen>
|
---|
50 |
|
---|
51 | <para>If your system was completely built per LFS and BLFS instructions,
|
---|
52 | you have a very good chance of using
|
---|
53 | <application>GNOME</application>-&gnome-version;&gnome-minor-version; after
|
---|
54 | your first installation. If you are a typical LFS user, you have made
|
---|
55 | modifications to the instructions along the way knowing that you have to
|
---|
56 | take those modifications into account on future installations. You should
|
---|
57 | have no problems integrating
|
---|
58 | <application>GNOME</application>-&gnome-version;&gnome-minor-version; into
|
---|
59 | your unique setup, but you will have to install almost 50 packages before
|
---|
60 | you can run <application>GNOME</application> through any testing (assuming
|
---|
61 | your window manager is preinstalled and tested). You should anticipate that
|
---|
62 | you will be rebuilding <application>GNOME</application> at least once to
|
---|
63 | make adjustments for your setup.</para>
|
---|
64 |
|
---|
65 | <para>If you are building a <application>GNOME</application> 1.4 desktop
|
---|
66 | environment, you would install only those libraries in the
|
---|
67 | <application>GNOME</application> 1.4 chapter <emphasis>and</emphasis> any
|
---|
68 | dependencies listed on those pages, whether labeled or not.
|
---|
69 | <application>GNOME</application> packages without pages are simply
|
---|
70 | installed with:</para>
|
---|
71 |
|
---|
72 | <screen><userinput>./configure --prefix=/opt/gnome &&
|
---|
73 | make</userinput></screen>
|
---|
74 |
|
---|
75 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
76 |
|
---|
77 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
78 |
|
---|
79 | <para>These instructions are simplistic to facilitate removal of
|
---|
80 | <application>GNOME</application> 1.4 from BLFS systems when it is no longer
|
---|
81 | necessary. These instructions may be refined later to comply with BLFS
|
---|
82 | standards for file locations, specifically
|
---|
83 | <filename class='directory'>/opt/gnome/etc</filename> to
|
---|
84 | <filename class='directory'>/etc</filename> and
|
---|
85 | <filename class='directory'>/opt/gnome/var</filename> to
|
---|
86 | <filename class='directory'>/var</filename>. You should consider using
|
---|
87 | the <application>GNOME</application> 1.4 hint located at
|
---|
88 | <ulink url="http://www.linuxfromscratch.org/hints/"/> if you have no
|
---|
89 | interest in
|
---|
90 | <application>GNOME</application>-&gnome-version;&gnome-minor-version;.</para>
|
---|
91 |
|
---|
92 | </partintro>
|
---|