Difference between revisions of "Gnome2"

From CBLFS
Jump to navigationJump to search
(Prerequisites)
m (Create and Update Environment Variables)
Line 13: Line 13:
 
Option 2:
 
Option 2:
  
   export GNOME=/opt/gnome-2.14
+
   export GNOME=/opt/gnome-2.16
  
 
Option 3:
 
Option 3:
  
   install -dv -m755 /opt/gnome-2.14
+
   install -dv -m755 /opt/gnome-2.16
   ln -sv gnome-2.14 /opt/gnome
+
   ln -sv gnome-2.16 /opt/gnome
 
   export GNOME=/opt/gnome
 
   export GNOME=/opt/gnome
 
    
 
    
Line 25: Line 25:
 
Update or add paths in the system or user profile.
 
Update or add paths in the system or user profile.
  
   export PATH=$PATH:/opt/gnome-2.14.2/bin
+
   export PATH=$PATH:/opt/gnome-2.16/bin
   export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.14.2/lib/pkgconfig
+
   export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.16/lib/pkgconfig
   export GNOME_LIB_PATH=/usr/lib:/opt/gnome-2.14.2/lib
+
   export GNOME_LIB_PATH=/usr/lib:/opt/gnome-2.16/lib
  
 
Add the GNOME library path to your /etc/ld.so.conf then execute '''ldconfig''' as the ''root'' user.
 
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
+
   echo /opt/gnome-2.16/lib >> /etc/ld.so.conf
 
   ldconfig
 
   ldconfig
  

Revision as of 13:46, 9 October 2006

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.16

Option 3:

 install -dv -m755 /opt/gnome-2.16
 ln -sv gnome-2.16 /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.16/bin
 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.16/lib/pkgconfig
 export GNOME_LIB_PATH=/usr/lib:/opt/gnome-2.16/lib

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

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

Prerequisites

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