2 Installing the Binaries

Contents of this section

If you want to save space, first select which archives you want to unpack. If you can't decide what to pick and you have 52Mb of disk space, it's safe to unpack everything.

At a minimum you need to unpack the 'required' X33*.tgz archives plus at least one server that matches your vga card. You'll need 13Mb for the minimum required run-time binaries only.

Required:

X33bin.tgz

all the executable X client applications and shared libs

X33fnts.tgz

the misc, 75 dpi and PEX fonts

X33lib.tgz

data files needed at runtime

Required unless you have already customized your configuration files:

X33cfg.tgz

customizable xinit and xdm runtime configuration files

Choose at least one server:

X338514.tgz

8-bit color for IBM 8514 and true compatibles.

X33AGX.tgz

8 and 16-bit color for AGX and XGA boards.

X33I128.tgz

8 and 16-bit color for I128 boards.

X33Ma32.tgz

8 and 16-bit color for ATI Mach32 boards.

X33Ma64.tgz

8, 16 and 32-bit color for ATI Mach64 boards.

X33Ma8.tgz

8-bit color for ATI Mach8 boards.

X33Mono.tgz

1-bit monochrome for VGA, Super-VGA, Hercules, and others.

X33P9K.tgz

8, 16, and 32-bit color for Weitek P9000 boards (Diamond Viper).

X33S3.tgz

8, 16 and 32-bit color for S3 boards.

X33S3V.tgz

8 and 16-bit color for S3 ViRGE boards.

X33SVGA.tgz

>=8-bit color for Super-VGA cards.

X33VG16.tgz

4-bit color for VGA and Super-VGA cards

X33W32.tgz

8-bit Color for ET4000/W32, /W32i, /W32p and ET6000 cards.

X339GAN.tgz

8-bit color for PC98 GA-98NB/WAP boards

X339480.tgz

8-bit color for PC98 PEGC

X339NKV.tgz

8-bit color for PC98 NEC-CIRRUS/EPSON NKV/NKV2 boards

X339WBS.tgz

8-bit color for PC98 WAB-S boards

X339WEP.tgz

8-bit color for PC98 WAB-EP boards

X339WSN.tgz

8-bit color for PC98 WSN-A2F boards

X339EGC.tgz

4-bit color for PC98 EGC

X339TGU.tgz

8 and 16-bit color for PC98 Trident Cyber9320/9680 boards

X339NS3.tgz

8 and 16-bit color for PC98 NEC S3 boards

X339SPW.tgz

8 and 16-bit color for PC98 S3 PW/PCSKB boards

X339LPW.tgz

8 and 16-bit color for PC98 S3 PW/LB boards

X339GA9.tgz

8 and 16-bit color for PC98 S3 GA-968 boards

X33nest.tgz

A nested server running as a client window on another display.

Optional:

X32doc.tgz

READMEs

X32ps.tgz

READMEs in PostScript

X32html.tgz

READMEs in HTML

X32man.tgz

man pages

X32f100.tgz

100dpi fonts

X32fscl.tgz

Speedo and Type1 fonts

X32fnon.tgz

Japanese, Chinese and other non-english fonts

X32fcyr.tgz

Cyrillic fonts

X32fsrv.tgz

the font server and its man page

X32prog.tgz

config, lib*.a and *.h files needed only for compiling

2.1 Full Install:

  1. You must be logged in as root to unpack the archives because several executables are set-user-id. Otherwise the server may abort if you unpack it as an ordinary user. You must also use a ``umask'' value of 022 because the X server requires special permissions.
     % su
     # umask 022
    
  2. If you have 52Mb free in the /usr partition ``cd /usr'' and skip to no. 4. Otherwise, create a directory on another partition and sym link it into /usr:
     # cd /usr/local
     # mkdir X11R6
     # ln -s /usr/local/X11R6 /usr/X11R6
    
  3. Run the preinst.sh script
     # cd /usr/X11R6
     # sh preinst.sh
    
  4. Unpack everything: If you are using sh (as root usually does):
     # for i in X33*.tgz; do
     #   tar -x -z --unlink -f $i
     # done
    
    Else, if you are using csh:
     % foreach i (X33*.tgz)
     %   tar -x -z --unlink -f $i
     % end
    
  5. Create a symbolic link ``X'' that points to the server that matches your video card. The XF86_* man pages list which vga chip sets are supported by each server. For example, if you have an ET4000 based card you will use the XF86_SVGA server:
     # cd /usr/X11R6/bin; rm X; ln -s XF86_SVGA X
    

2.2 Minimal Install:

First do numbers 1, 2 and 4 above. Then unpack the required archives:

 # for i in bin fnts lib xicf; do
 #   tar -x -z --unlink -f  X33$i.tgz
 # done

Then unpack a server archive corresponding to your vga card. The server man pages, X11R6/man/man1/XF86_*, list the vga chip sets supported by each server. For example, if you have an ET4000 based card you will use the XF86_SVGA server:

 # tar -x -z --unlink -f X33SVGA.tgz
 # cd /usr/X11R6/bin; rm X; ln -s XF86_SVGA X

2.3 After either Full or Minimal Install above:

Add /usr/X11R6/bin to the default path for sh in /etc/profile and for csh in /etc/csh.login if they are not already there:

 # echo 'set path = ($path /usr/X11R6/bin)' >>/etc/csh.login
 # echo 'PATH=$PATH:/usr/X11R6/bin' >>/etc/profile

Or make sure all who use X put /usr/X11R6/bin in their shell's ``path'' variable.

Next either reboot or invoke ldconfig as root to put the shared libraries in ld.so's cache:

 # ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib

If you had already configured X11R6/lib/X11/xinit/xinitrc or X11R6/lib/X11/xdm/* omit the xinit-config or xdm-config archive or unpack it separately and merge in your customizations.

The fscl and f100 archives are optional and can be omitted if you are short on space. The optional link archive allows you to reconfigure and customize a X server binary. The optional prog archive is needed only for writing or compiling X applications. The optional pex archive contains pex clients and libraries for building 3D graphics applications.

NOTE: You don't need to uncompress the font files, but if you uncompress them anyway you must run mkfontdir in the corresponding font directory; otherwise your server will abort with the message ``could not open default font 'fixed'''.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter