1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 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 | <sect1 id="gnome-pre-install-config">
|
---|
9 | <?dbhtml filename="pre-install-config.html"?>
|
---|
10 |
|
---|
11 |
|
---|
12 | <title>Pre-installation Configuration</title>
|
---|
13 |
|
---|
14 | <para>Set an environment variable to resolve the prefix destination.</para>
|
---|
15 |
|
---|
16 | <para>If <application>GNOME</application> is your desktop of choice:</para>
|
---|
17 |
|
---|
18 | <screen><userinput>cat > /etc/profile.d/gnome.sh << "EOF" &&
|
---|
19 | <literal>export GNOME_PREFIX=/usr
|
---|
20 | export GNOME_SYSCONFDIR=&gnome-etc-dir;
|
---|
21 | export XDG_CONFIG_DIRS=${GNOME_SYSCONFDIR}/xdg
|
---|
22 | export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
|
---|
23 | EOF
|
---|
24 | . /etc/profile.d/gnome.sh</userinput></screen>
|
---|
25 |
|
---|
26 |
|
---|
27 | <para>If you want to try-out <application>GNOME</application>, or install
|
---|
28 | it in an easy-to-remove location:</para>
|
---|
29 |
|
---|
30 | <note>
|
---|
31 | <para>You may wish to create a symbolic link to the actual versioned
|
---|
32 | directory using a non-versioned name. This has the advantage of an easier
|
---|
33 | path to type in all the changes below and also makes it easy to point
|
---|
34 | to a different/newer version of GNOME without changing all the edits
|
---|
35 | below. If you wish to use a non-versioned name in the changes below,
|
---|
36 | issue the following commands as the
|
---|
37 | <systemitem class='username'>root</systemitem> user:</para>
|
---|
38 |
|
---|
39 | <screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &&
|
---|
40 | ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
|
---|
41 | </note>
|
---|
42 |
|
---|
43 | <para>If you created the symbolic link, change all instances of <filename
|
---|
44 | class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
|
---|
45 | to <filename class='directory'>/opt/gnome</filename> in the instructions
|
---|
46 | below.</para>
|
---|
47 |
|
---|
48 | <screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
---|
49 |
|
---|
50 | <para>The try-out group will also need to make all the following
|
---|
51 | configuration changes:</para>
|
---|
52 |
|
---|
53 | <para>Add to your system or personal profile:</para>
|
---|
54 |
|
---|
55 | <screen><literal>export PATH=${PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
|
---|
56 | export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
|
---|
57 | export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
|
---|
58 | export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
59 | export PYTHONPATH=${PYTHONPATH}:/usr/lib/python&python2-majorver;/site-packages:/opt/gnome-&gnome-version;/lib/python&python2-majorver;/site-packages</literal></screen>
|
---|
60 |
|
---|
61 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
62 |
|
---|
63 | <screen role='root'><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
64 | <literal># Begin gnome addition to /etc/ld.so.conf
|
---|
65 |
|
---|
66 | /opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
67 |
|
---|
68 | # End gnome addition</literal>
|
---|
69 | EOF</userinput></screen>
|
---|
70 |
|
---|
71 | <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
|
---|
72 |
|
---|
73 | <screen role='root'><userinput>cat >> /etc/man_db.conf << "EOF"
|
---|
74 | <literal># Begin gnome addition to man_db.conf
|
---|
75 |
|
---|
76 | MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
|
---|
77 |
|
---|
78 | # End gnome addition to man_db.conf</literal>
|
---|
79 | EOF</userinput></screen>
|
---|
80 |
|
---|
81 | <tip>
|
---|
82 | <para>Remember to execute <command>ldconfig</command> as the
|
---|
83 | <systemitem class='username'>root</systemitem> user after installation of
|
---|
84 | libraries to update the linker's library cache.</para>
|
---|
85 | </tip>
|
---|
86 |
|
---|
87 | </sect1>
|
---|