Gnome2

From CBLFS
Revision as of 14:42, 5 October 2006 by Weibullguy (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Pre-Installation Configuration

Installation Strategies

If you're committed to GNOME as your desktop, you will likely install it in the /usr hierarchy. If less committed, or you prefer to install GNOME in an easy to remove location, the /opt hierarchy may be more suitable. A third option, which simplifies version changes in the future, would be to install GNOME in a versioned directory and create a non-versioned symbolic link.

Create and Update Environment Variables

Set an environment variable for the prefix destination, if you wish. Option 1:

 export GNOME=/usr

Option 2:

 export GNOME=/opt/gnome-2.14

Option 3:

 install -dv -m755 /opt/gnome-2.14
 ln -sv gnome-2.14 /opt/gnome
 export GNOME=/opt/gnome
 

If installing GNOME in other than the /usr hierarchy, some configuration changes are needed. If using a symbolic link, replace gnome-2.14 with gnome in the following commands.

Update or add paths in the system or user profile.

 export PATH=$PATH:/opt/gnome-2.14.2/bin
 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.14.2/lib/pkgconfig
 export GNOME_LIB_PATH=/usr/lib:/opt/gnome-2.14.2/lib

Add the GNOME library path to your /etc/ld.so.conf then execute ldconfig as the root user.

 echo /opt/gnome-2.14.2/lib >> /etc/ld.so.conf
 ldconfig

Prerequisites

You'll need to have an X Window System installed, either Xorg or XFree86. Commence GNOME installation.