2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2004-04-26 01:09:03 +08:00
|
|
|
<sect1 id="gnome-pre-install-config">
|
2005-05-16 04:46:59 +08:00
|
|
|
<?dbhtml filename="pre-install-config.html"?>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2005-05-11 04:39:26 +08:00
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2004-11-23 15:21:03 +08:00
|
|
|
|
2005-05-16 04:46:59 +08:00
|
|
|
<title>Pre-installation Configuration</title>
|
2004-11-23 15:21:03 +08:00
|
|
|
|
2005-05-11 04:39:26 +08:00
|
|
|
<para>Set an environment variable to resolve the prefix destination.</para>
|
2004-11-23 15:21:03 +08:00
|
|
|
|
2005-05-16 04:46:59 +08:00
|
|
|
<para>If <application>GNOME</application> is your desktop of choice:</para>
|
2004-11-23 15:21:03 +08:00
|
|
|
|
2012-01-25 07:51:43 +08:00
|
|
|
<screen><userinput>cat > /etc/profile.d/gnome.sh << "EOF" &&
|
|
|
|
<literal>export GNOME_PREFIX=/usr
|
|
|
|
export GNOME_SYSCONFDIR=&gnome-etc-dir;
|
2012-04-03 05:12:27 +08:00
|
|
|
export XDG_CONFIG_DIRS=${GNOME_SYSCONFDIR}/xdg
|
2012-01-25 07:51:43 +08:00
|
|
|
export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
|
|
|
|
EOF
|
|
|
|
. /etc/profile.d/gnome.sh</userinput></screen>
|
|
|
|
|
2003-02-08 07:37:11 +08:00
|
|
|
|
2005-05-16 04:46:59 +08:00
|
|
|
<para>If you want to try-out <application>GNOME</application>, or install
|
2005-10-11 02:02:07 +08:00
|
|
|
it in an easy-to-remove location:</para>
|
2004-02-02 10:11:57 +08:00
|
|
|
|
2006-06-22 02:27:21 +08:00
|
|
|
<note>
|
|
|
|
<para>You may wish to create a symbolic link to the actual versioned
|
|
|
|
directory using a non-versioned name. This has the advantage of an easier
|
|
|
|
path to type in all the changes below and also makes it easy to point
|
|
|
|
to a different/newer version of GNOME without changing all the edits
|
|
|
|
below. If you wish to use a non-versioned name in the changes below,
|
|
|
|
issue the following commands as the
|
|
|
|
<systemitem class='username'>root</systemitem> user:</para>
|
|
|
|
|
2010-08-29 14:37:22 +08:00
|
|
|
<screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &&
|
|
|
|
ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
|
2006-06-22 02:27:21 +08:00
|
|
|
</note>
|
|
|
|
|
|
|
|
<para>If you created the symbolic link, change all instances of <filename
|
2010-08-29 14:37:22 +08:00
|
|
|
class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
|
2006-06-22 02:27:21 +08:00
|
|
|
to <filename class='directory'>/opt/gnome</filename> in the instructions
|
|
|
|
below.</para>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2010-08-29 14:37:22 +08:00
|
|
|
<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2005-05-11 04:39:26 +08:00
|
|
|
<para>The try-out group will also need to make all the following
|
|
|
|
configuration changes:</para>
|
|
|
|
|
|
|
|
<para>Add to your system or personal profile:</para>
|
|
|
|
|
2012-04-03 05:12:27 +08:00
|
|
|
<screen><literal>export PATH=${PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
|
|
|
|
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
|
2011-01-04 04:46:39 +08:00
|
|
|
export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
2012-04-05 21:34:43 +08:00
|
|
|
export PYTHONPATH=${PYTHONPATH}:/usr/lib/python&python2-majorver;/site-packages:/opt/gnome-&gnome-version;/lib/python&python2-majorver;/site-packages</literal></screen>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2005-05-11 04:39:26 +08:00
|
|
|
<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2005-05-16 04:46:59 +08:00
|
|
|
<screen role='root'><userinput>cat >> /etc/ld.so.conf << "EOF"
|
2005-05-11 04:39:26 +08:00
|
|
|
<literal># Begin gnome addition to /etc/ld.so.conf
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2010-08-29 14:37:22 +08:00
|
|
|
/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2005-05-11 04:39:26 +08:00
|
|
|
# End gnome addition</literal>
|
2005-05-16 04:46:59 +08:00
|
|
|
EOF</userinput></screen>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2006-04-10 06:07:47 +08:00
|
|
|
<para>Add to your <filename>/etc/man_db.conf</filename>:</para>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2006-04-10 06:07:47 +08:00
|
|
|
<screen role='root'><userinput>cat >> /etc/man_db.conf << "EOF"
|
|
|
|
<literal># Begin gnome addition to man_db.conf
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2010-08-29 14:37:22 +08:00
|
|
|
MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2006-04-10 06:07:47 +08:00
|
|
|
# End gnome addition to man_db.conf</literal>
|
2005-05-16 04:46:59 +08:00
|
|
|
EOF</userinput></screen>
|
2002-09-05 23:57:09 +08:00
|
|
|
|
2006-06-22 02:27:21 +08:00
|
|
|
<tip>
|
|
|
|
<para>Remember to execute <command>ldconfig</command> as the
|
|
|
|
<systemitem class='username'>root</systemitem> user after installation of
|
|
|
|
libraries to update the linker's library cache.</para>
|
|
|
|
</tip>
|
|
|
|
|
2002-09-05 23:57:09 +08:00
|
|
|
</sect1>
|