Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node200.html
2024-02-19 00:23:35 -05:00

92 lines
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>5.1.2 Installing XFree86</TITLE>
</HEAD>
<BODY>
<meta name="description" value="5.1.2 Installing XFree86">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html4332 HREF="node201.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4330 HREF="node198.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4324 HREF="node199.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4334 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4335 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4333 HREF="node201.html">5.1.3 Configuring XFree86</A>
<B>Up:</B> <A NAME=tex2html4331 HREF="node198.html">5.1 The X Window </A>
<B> Previous:</B> <A NAME=tex2html4325 HREF="node199.html">5.1.1 Hardware requirements</A>
<BR> <HR> <P>
<H2><A NAME=SECTION00712000000000000000>5.1.2 Installing XFree86</A></H2>
<P>
<A NAME=5202>&#160;</A>
The Linux binary distribution of XFree86 can be found on a number of
FTP sites. On <tt>sunsite.unc.edu</tt>, it is found in the directory
<tt>/pub/Linux/X11</tt>. (As of the time of this writing, the
current version is 3.1; newer versions are released periodically).
<P>
It's quite likely that you obtained XFree86 as part of a Linux distribution,
in which case downloading the software separately is not necessary.
<P>
If you are downloading XFree86 directly, This table lists the files in
the XFree86-3.1 distribution.
<P>
One of the following servers is required:
<P><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img266.gif"><P>
<P>
All of the following files are required:
<P><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img267.gif"><P>
<P>
The following files are optional:
<P><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img268.gif"><P>
<P>
The XFree86 directory should contain <tt>README</tt> files and installation
notes for the current version.
<P>
All that is required to install XFree86 is to obtain the above files,
create the directory <tt>/usr/X11R6</tt> (as <tt>root</tt>), and unpack the
files from <tt>/usr/X11R6</tt> with a command such as:
<P><TT> # <em>gzip --dc XF86-3.1-bin.tar.gz <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img269.gif"> tar xfB --</em> <BR>
<P></TT>
Remember that these tar files are packed relative to <tt>/usr/X11R6</tt>,
so it's important to unpack the files there.
<P>
After unpacking the files, you first need to link the file
<tt>/usr/X11R6/bin/X</tt> to the server that you're using. For example,
if you wish to use the SVGA color server, <tt>/usr/bin/X11/X</tt>
should be linked to <tt>/usr/X11R6/bin/XF86_SVGA</tt>. If you wish to use
the monochrome server instead, relink this file to <tt>XF86_MONO</tt> with
the command
<P><TT> # <em>ln --sf /usr/X11R6/bin/XF86_MONO /usr/X11R6/bin/X</em>
<P></TT>
The same holds true if you are using one of the other servers.
<P>
If you aren't sure which server to use, or don't know your video card
chipset, you can run the <tt>SuperProbe</tt> program found in
<tt>/usr/X11R6/bin</tt> (included in the <tt>XF86-3.1-bin</tt> listed above).
This program will attempt to determine your video chipset type and other
information; write down its output for later reference.
<P>
You need to make sure that <tt>/usr/X11R6/bin</tt> is on your path.
This can be done by editing your system default <tt>/etc/profile</tt>
or <tt>/etc/csh.login</tt> (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 <tt>/etc/.bashrc</tt> or <tt>/etc/.cshrc</tt>,
based on your shell.
<P>
You also need to make sure that <tt>/usr/X11R6/lib</tt> can be located by
<tt>ld.so</tt>, the runtime linker. To do this, add the line
<P><TT> /usr/X11R6/lib
<P></TT>
to the file <tt>/etc/ld.so.conf</tt>, and run <tt>/sbin/ldconfig</tt>, as
<tt>root</tt>.
<P>
<BR> <HR><A NAME=tex2html4332 HREF="node201.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4330 HREF="node198.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4324 HREF="node199.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4334 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4335 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4333 HREF="node201.html">5.1.3 Configuring XFree86</A>
<B>Up:</B> <A NAME=tex2html4331 HREF="node198.html">5.1 The X Window </A>
<B> Previous:</B> <A NAME=tex2html4325 HREF="node199.html">5.1.1 Hardware requirements</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>