mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
937425f11e
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5634 af4574ff-66df-0310-9fd7-8a98e5e911e0
63 lines
2.2 KiB
XML
63 lines
2.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
]>
|
|
|
|
<sect1 id="gnome-pre-install-config">
|
|
<?dbhtml filename="pre-install-config.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Pre-installation Configuration</title>
|
|
|
|
<para>Set an environment variable to resolve the prefix destination.</para>
|
|
|
|
<para>If <application>GNOME</application> is your desktop of choice:</para>
|
|
|
|
<screen><userinput>export GNOME_PREFIX=/usr</userinput></screen>
|
|
|
|
<para>If you want to try-out <application>GNOME</application>, or install
|
|
it in an easy-to-remove location:</para>
|
|
|
|
<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
|
|
|
<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>
|
|
|
|
<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><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 GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib</literal></screen>
|
|
|
|
<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
|
|
|
<screen role='root'><userinput>cat >> /etc/ld.so.conf << "EOF"
|
|
<literal># Begin gnome addition to /etc/ld.so.conf
|
|
|
|
/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
|
|
|
# End gnome addition</literal>
|
|
EOF</userinput></screen>
|
|
|
|
<para>Add to your <filename>/etc/man.conf</filename>:</para>
|
|
|
|
<screen role='root'><userinput>cat >> /etc/man.conf << "EOF"
|
|
<literal># Begin gnome addition to man.conf
|
|
|
|
MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/man
|
|
|
|
# End gnome addition to man.conf</literal>
|
|
EOF</userinput></screen>
|
|
|
|
</sect1>
|