Pre-installation Configuration

Set an environment variable to resolve the prefix destination.

If GNOME is your desktop of choice:

export GNOME_PREFIX=/usr

If you want to try-out GNOME, or install it in an easy-to-remove location:

[Note]

Note

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 root user:

install -v -m755 -d /opt/gnome-2.18.3 &&
ln -v -s gnome-2.18.3 /opt/gnome

If you created the symbolic link, change all instances of /opt/gnome-2.18.3 to /opt/gnome in the instructions below.

export GNOME_PREFIX=/opt/gnome-2.18.3

The try-out group will also need to make all the following configuration changes:

Add to your system or personal profile:

export PATH=$PATH:/opt/gnome-2.18.3/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.18.3/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.18.3/share/pkgconfig
export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-2.18.3/lib

Add to your /etc/ld.so.conf:

cat >> /etc/ld.so.conf << "EOF"
# Begin gnome addition to /etc/ld.so.conf

/opt/gnome-2.18.3/lib

# End gnome addition
EOF

Add to your /etc/man_db.conf:

cat >> /etc/man_db.conf << "EOF"
# Begin gnome addition to man_db.conf

MANDATORY_MANPATH /opt/gnome-2.18.3/share/man

# End gnome addition to man_db.conf
EOF
[Tip]

Tip

Remember to execute ldconfig as the root user after installation of libraries to update the linker's library cache.

Last updated on 2007-07-25 09:48:30 -0500