The binary distribution is composed of a number of tar archives which are the executables, servers, fonts, libraries, include files, man pages, config files, and the server link kit. The full distribution takes over 55MB of disk space.
All archives are now made using the NetBSD package tools. We recommend
that you install these tools first. All packages can be installed
using pkg_add
.
Note that many clients were moved from the X11R6 distribution to the ``contrib'' area. However, they are still distributed with the XFree86 binary distribution.
The contents of the packages are:
READMEs and XFree86 specific man pages.
all of the executable X client applications and shared libs
the misc and 75dpi fonts
data files needed at runtime
customizable xinit, xdm, and fs runtime configuration files.
Choose at least one of the following to match your hardware:
the 8-bit pseudo-color X server for Super VGA cards
the 4-bit pseudo-color X server for VGA & SVGA cards.
the Monochrome X Server
the X server for IBM 8514/A and compatible boards
the X server for AGX boards
the X server for ATI Mach8 graphics boards
the X server for ATI Mach32 graphics boards
the X server for ATI Mach64 graphics boards
the X server for P9000 based boards
the X server for S3 based boards
the X server for et4000w32 based boards
the font server with man pages.
the X11 header files and static libraries needed only for compiling other X applications
man pages except XFree86 specific ones in the doc archive
the other fonts (100dpi, scaled, Japanese, Chinese, etc)
X server reconfiguration kit
If this is your first time, then you can safely install all of the packages. As a minimal install, you'll need doc, bin, fonts lib, config, and one X server.
pkg_add
# pkg_add <pkg>.tgz
If you don't have enough room in /usr/X11R6 you can specify another
directory by using the -p
option to pkg_add
. See
pkg_add(8) for details. Then make a symbolic link
/usr/X11R6
to this directory.
Continue with item Setting XWINHOME below.
pkg_add
To unpack and install the archives:
/usr/X11R6
is recommended, but if that
partition is full (as it is on my machine), then just create an
alternate directory, and sym-link /usr/X11R6
to this place.
ie, on my machine, I do the following:
% cd /usr/local
% mkdir X11R6
% ln -s /usr/local/X11R6 /usr/X11R6
umask 022
'' sets it.
Caution: If you do not extract the files as user ``root''
with the correct umask you may not be able to run XFree86 3.1.1.
The X server needs special permissions that are only granted
to the root user.
Assuming that the destination directory for XFree86 3.1.1 is
/usr/X11R6
, run the following from wherever all the archive
files are (replace /usr/X11R6
with wherever you wish them to
go if that isn't the place):
cd /usr/X11R6
tar xzf X311doc.tgz
tar xzf X311bin.tgz
tar xzf X311lib.tgz
tar xzf X311font.tgz
tar xzf X311man.tgz
tar xzf X311link.tgz
tar xzf X311prog.tgz
tar xzf X311xfnt.tgz
tar xzf X311fs.tgz
tar xzf X311cfg.tgz
And unpack the server(s) you need:
tar xzf X311<server>.tgz
XWINHOME
environment
variable to the path where you installed XFree86. Under csh type:
setenv XWINHOME /usr/X11R6
under sh type
XWINHOME=/usr/X11R6
export XWINHOME
(Replace /usr/X11R6
by the appropriate dir if necessary).
Also, don't forget to include these lines in your .login
or .profile
for permanent use.
${XWINHOME}/bin
named
``X
'' that points to the server that matches your video
card: See the XF86_* man pages for hardware details. For
example, if you have an ET4000 based SVGA card:
cd $XWINHOME/bin
rm -f X
ln -s XF86_SVGA X
/etc/rc.local
:
if [ -d /usr/X11R6/lib ]; then
echo 'Adding X shared libraries'
ldconfig /usr/X11R6/lib
fi
If X was already installed on your machine and you have customized your xinit or xdm runtime configuration scripts, omit the config archive or unpack it elsewhere and extract only that which you need.
NOTE: you don't need to uncompress the fonts files inlib/X11/fonts
. If you want to uncompress them anyway, don't forget to run ``mkfontdir
'' in each directory after that.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter