4. Installing XFree86 4.0.2 manually

This section describes how to manually install the XFree86 4.0.2 binary
distributions. You should only use this method if you know what you're
doing. The information here covers some common cases, but not every
possible case.

Put all of the downloaded files into a single directory (choose some
temporary location with enough space). Become the super user (root).
All of the following commands should be run as root, and they should be
run from the directory that has all of the downloaded files. The
"extract" utility should be used to unpack the tarballs. This
is a customised version of GNU tar that has the gzip code built-in, and
which has a different usage when run under the name "extract". One
important thing that extract does that most versions of tar do
not do by default is that it unlinks existing files before writing new
ones. This is important when installing over an existing version of X.
If you choose to use some other utility to extract the tarballs, you're
on your own.

4.1. A new installation

The simplest case is when there is no existing X installation. The
installation procedure for this case is as follows:

4.2. Installing over an old installation

If you have an existing installation of X, you should make a backup copy
of it before installing the new version over the top of it.

Before doing anything else, make sure the extract command is
executable, and also link it to the name "gnu-tar" so that it
can be used as a regular tar command:

chmod +x extract
rm -f gnu-tar
ln extract gnu-tar

The first part of the procedure is to move the old run-time config files
from /usr/X11R6/lib/X11 to /etc/X11. Create
/etc/X11 if it doesn't already exist. For each of the following
sub-directories (app-defaults, fs, lbxproxy,
proxymngr, rstart, twm, xdm,
xinit, xsm, xserver) that you want to move,
check that there is a sub-directory of this name in
/usr/X11R6/lib/X11. Create a sub-directory of the same name
under /etc/X11, then copy the files over by running: