mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
52a46b3a46
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2271 af4574ff-66df-0310-9fd7-8a98e5e911e0
44 lines
1.6 KiB
XML
44 lines
1.6 KiB
XML
<sect1 id="gnome-pre-install-config">
|
|
<?dbhtml filename="pre-install-config.html"?>
|
|
<title>Pre-installation configuration</title>
|
|
|
|
<para>Set an environment variable to resolve the prefix destination.</para>
|
|
<para>If <application><acronym>GNOME</acronym></application> is your desktop of choice:</para>
|
|
<screen><userinput><command>export GNOME_PREFIX=/usr</command></userinput></screen>
|
|
<para>If you want to try-out <application><acronym>GNOME</acronym></application>:</para>
|
|
<screen><userinput><command>export GNOME_PREFIX=/opt/gnome-&gnome-version;</command></userinput></screen>
|
|
|
|
<para>Remember to execute <command>ldconfig</command> after installation of libraries to
|
|
update the library cache.</para>
|
|
|
|
<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>
|
|
|
|
<screen><userinput><command>export PATH=$PATH:/opt/gnome-&gnome-version;/bin
|
|
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;/lib/pkgconfig
|
|
export GNOME_LIBCONFIG_PATH=/usr/lib</command></userinput></screen>
|
|
|
|
<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
|
# Begin gnome addition to /etc/ld.so.conf
|
|
|
|
/opt/gnome-&gnome-version;/lib
|
|
|
|
# End gnome addition
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<para>Add to your <filename>/etc/man.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
|
# Begin gnome addition to man.conf
|
|
|
|
MANPATH /opt/gnome-&gnome-version;/man
|
|
|
|
# End gnome addition to man.conf
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
</sect1>
|