10.3. Installing XFree86
The Linux binary distribution of XFree86 can be found on a number of FTP sites. On ftp://ftp.xfree86.org, it is found in the directory /pub/XFree86/18.104.22.168/binaries; there you will find systems for Intel, m68k, PPC, and Alpha AXP in subdirectories. (At the time of this writing, the current version is 22.214.171.124; newer versions are released periodically).
It's quite likely you obtained XFree86 as part of a Linux distribution, in which case downloading the software separately is not necessary. If you are downloading XFree86 directly, the following tables list the files in the XFree86-126.96.36.199 distribution.
All of the following files are required:
The following files are optional:
The XFree86 directory should contain README files and installation notes for the current version.
Obtain these files and save them in the directory /var/tmp (you can use any other directory; just change the pathname accordingly in the following examples), and create the directory /usr/X11R6 as root. Copy the three files preinst.sh, postinst.sh and extract to /var/tmp. Change to the directory /usr/X11R6 and run:
Next, make sure the extract utility that you downloaded is executable:
chmod 755 extract
Now unpack the binaries by typing:
Finally, run the post-installation script:
You need to make sure that /usr/X11R6/bin is on your path. This can be done by editing your system default /etc/profile or /etc/csh.login (based on the shell that you or other users on your system, use). Or you can simply add the directory to your personal path by modifying /etc/.bashrc or /etc/.cshrc, based on your shell.
You also need to make sure that /usr/X11R6/lib can be located by ld.so, the runtime linker. To do this, add the line:
to the file /etc/ld.so.conf, and run /sbin/ldconfig as root./usr/X11R6/lib
Copyright © 2001 O'Reilly & Associates. All rights reserved.