[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[85b98c3] | 8 | <sect1 id="gnome-pre-install-config">
|
---|
[9ad96f5] | 9 | <?dbhtml filename="pre-install-config.html"?>
|
---|
[d1ea01e3] | 10 |
|
---|
[23abb34] | 11 |
|
---|
[9ad96f5] | 12 | <title>Pre-installation Configuration</title>
|
---|
[23abb34] | 13 |
|
---|
[15a1fed9] | 14 | <para>Set an environment variable to resolve the prefix destination.</para>
|
---|
[23abb34] | 15 |
|
---|
[9ad96f5] | 16 | <para>If <application>GNOME</application> is your desktop of choice:</para>
|
---|
[23abb34] | 17 |
|
---|
[8d3eae9] | 18 | <screen><userinput>cat > /etc/profile.d/gnome.sh << "EOF" &&
|
---|
| 19 | <literal>export GNOME_PREFIX=/usr
|
---|
| 20 | export GNOME_SYSCONFDIR=&gnome-etc-dir;
|
---|
[31b1acd2] | 21 | export XDG_CONFIG_DIRS=${GNOME_SYSCONFDIR}/xdg
|
---|
[8d3eae9] | 22 | export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
|
---|
| 23 | EOF
|
---|
| 24 | . /etc/profile.d/gnome.sh</userinput></screen>
|
---|
| 25 |
|
---|
[26a12b5] | 26 |
|
---|
[9ad96f5] | 27 | <para>If you want to try-out <application>GNOME</application>, or install
|
---|
[3b269b9] | 28 | it in an easy-to-remove location:</para>
|
---|
[b394e5f7] | 29 |
|
---|
[9761bea4] | 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 |
|
---|
[790998f] | 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>
|
---|
[9761bea4] | 41 | </note>
|
---|
| 42 |
|
---|
| 43 | <para>If you created the symbolic link, change all instances of <filename
|
---|
[790998f] | 44 | class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
|
---|
[9761bea4] | 45 | to <filename class='directory'>/opt/gnome</filename> in the instructions
|
---|
| 46 | below.</para>
|
---|
[d1ea01e3] | 47 |
|
---|
[790998f] | 48 | <screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
---|
[d1ea01e3] | 49 |
|
---|
[15a1fed9] | 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 |
|
---|
[31b1acd2] | 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
|
---|
[4a96d460] | 58 | export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
[002bf11] | 59 | export PYTHONPATH=${PYTHONPATH}:/usr/lib/python&python2-majorver;/site-packages:/opt/gnome-&gnome-version;/lib/python&python2-majorver;/site-packages</literal></screen>
|
---|
[d1ea01e3] | 60 |
|
---|
[15a1fed9] | 61 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
[d1ea01e3] | 62 |
|
---|
[9ad96f5] | 63 | <screen role='root'><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
[15a1fed9] | 64 | <literal># Begin gnome addition to /etc/ld.so.conf
|
---|
[d1ea01e3] | 65 |
|
---|
[790998f] | 66 | /opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
[d1ea01e3] | 67 |
|
---|
[15a1fed9] | 68 | # End gnome addition</literal>
|
---|
[9ad96f5] | 69 | EOF</userinput></screen>
|
---|
[d1ea01e3] | 70 |
|
---|
[58c6057] | 71 | <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
|
---|
[d1ea01e3] | 72 |
|
---|
[58c6057] | 73 | <screen role='root'><userinput>cat >> /etc/man_db.conf << "EOF"
|
---|
| 74 | <literal># Begin gnome addition to man_db.conf
|
---|
[d1ea01e3] | 75 |
|
---|
[790998f] | 76 | MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
|
---|
[d1ea01e3] | 77 |
|
---|
[58c6057] | 78 | # End gnome addition to man_db.conf</literal>
|
---|
[9ad96f5] | 79 | EOF</userinput></screen>
|
---|
[d1ea01e3] | 80 |
|
---|
[9761bea4] | 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 |
|
---|
[d1ea01e3] | 87 | </sect1>
|
---|