10.3. Installing XFree86The 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/3.3.3.1/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 3.3.3.1; 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-3.3.3.1 distribution. One of the following servers is required (not all of those are available for all platforms, but all are available for Intel systems):
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: sh /var/tmp/preinst.sh Next, make sure the extract utility that you downloaded is executable: chmod 755 extract Now unpack the binaries by typing: /var/tmp/extract /var/tmp/X*.tgz Finally, run the post-installation script: sh /var/tmp/postinst.sh 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. |
|