blob: 03fa60b4dc5ec3e43f12353cab55be5fbbc8edb6 [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Getting Mesa</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul0b27ace2003-03-08 17:38:57 +00008
Brian Paul7f8cb302005-09-10 16:57:22 +00009<H1>Downloading</H1>
Brian Paul0b27ace2003-03-08 17:38:57 +000010
11<p>
Brian Paul5d56e312009-09-03 15:44:49 -060012Primary Mesa download site:
13<a href="ftp://ftp.freedesktop.org/pub/mesa/"
14target="_parent">freedesktop.org</a> (FTP)
Brian Paul0b27ace2003-03-08 17:38:57 +000015</p>
16
Brian Paul3491cbe2008-06-21 10:14:22 -060017<p>
Brian Paul5d56e312009-09-03 15:44:49 -060018When a new release is coming, release candidates (betas) may be found
19<a href="ftp://ftp.freedesktop.org/pub/mesa/beta/" target="_parent">here</a>.
Brian Paul3491cbe2008-06-21 10:14:22 -060020</p>
21
Brian Paul7f8cb302005-09-10 16:57:22 +000022
23<p>
Brian Paul48f696c2011-04-04 11:16:51 -060024The Mesa package is named MesaLib-x.y.z.{tar.bz2, tar.gz, zip} where x.y.z
25is the version. There are three types of compressed archives.
Brian Paul7f8cb302005-09-10 16:57:22 +000026</p>
Brian Paul7f8cb302005-09-10 16:57:22 +000027<p>
Brian Paul48f696c2011-04-04 11:16:51 -060028There's also the MesaGLUT-x.y.z.{tar.bz2, tar.gz, zip} packages which
29contain Mark Kilgard's GLUT library.
30This is optional.
31Most Linux distributions include an implementation of GLUT (such as freeglut).
32</p>
33<p>
34In the past, the Mesa demos collection was distributed as
35MesaDemos-x.y.z.{tar.bz2, tar.gz, zip}.
36Now, the
37<a href="ftp://ftp.freedesktop.org/pub/mesa/demos/" target="_parent">
38Mesa demos</a> are distributed separately.
Brian Paul7f8cb302005-09-10 16:57:22 +000039</p>
40
Brian Paul7f8cb302005-09-10 16:57:22 +000041
42<H1>Unpacking</H1>
43
44<p>
Brian Paul48f696c2011-04-04 11:16:51 -060045To unpack .tar.gz files:
Brian Paul7f8cb302005-09-10 16:57:22 +000046</p>
Brian Paul0b27ace2003-03-08 17:38:57 +000047<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060048 tar zxf MesaLib-x.y.z.tar.gz
Brian Paul0b27ace2003-03-08 17:38:57 +000049</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000050or
51<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060052 gzcat MesaLib-x.y.z.tar.gz | tar xf -
Brian Paul7f8cb302005-09-10 16:57:22 +000053</pre>
54or
55<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060056 gunzip MesaLib-x.y.z.tar.gz ; tar xf MesaLib-x.y.z.tar
Brian Paul7f8cb302005-09-10 16:57:22 +000057</pre>
Brian Paul48f696c2011-04-04 11:16:51 -060058<p>
59To unpack .tar.bz2 files:
60</p>
Brian Paul7f8cb302005-09-10 16:57:22 +000061<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060062 bunzip2 -c MesaLib-x.y.z.tar.gz | tar xf -
Brian Paul7f8cb302005-09-10 16:57:22 +000063</pre>
Brian Paul48f696c2011-04-04 11:16:51 -060064<p>
65To unpack .zip files:
66</p>
Brian Paul7f8cb302005-09-10 16:57:22 +000067<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060068 unzip MesaLib-x.y.z.zip
Brian Paul7f8cb302005-09-10 16:57:22 +000069</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000070
71
72<h1>Contents</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000073
74<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +000075After unpacking you'll have these files and directories (among others):
Brian Paul0b27ace2003-03-08 17:38:57 +000076</p>
77<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000078Makefile - top-level Makefile for most systems
79configs/ - makefile parameter files for various systems
Brian Paul0b27ace2003-03-08 17:38:57 +000080include/ - GL header (include) files
Brian Paulafc04282003-09-03 23:04:31 +000081bin/ - shell scripts for making shared libraries, etc
Brian Paul0b27ace2003-03-08 17:38:57 +000082docs/ - documentation
Brian Paulafc04282003-09-03 23:04:31 +000083src/ - source code for libraries
84src/mesa - sources for the main Mesa library and device drivers
Brian Paul48f696c2011-04-04 11:16:51 -060085src/gallium - sources for Gallium and Gallium drivers
Brian Paulafc04282003-09-03 23:04:31 +000086src/glu - libGLU source code
Brian Pauld9eff8b2006-07-12 20:14:43 +000087src/glx - sources for building libGL with full GLX and DRI support
Brian Paulafc04282003-09-03 23:04:31 +000088src/glw - Xt/Motif/OpenGL widget code
Brian Paul7f8cb302005-09-10 16:57:22 +000089</pre>
Brian Paulafc04282003-09-03 23:04:31 +000090
Brian Paul48f696c2011-04-04 11:16:51 -060091If you downloaded and unpacked the MesaGLUT.x.y.z package:
Brian Paul7f8cb302005-09-10 16:57:22 +000092<pre>
93src/glut - GLUT library source code
Brian Paul0b27ace2003-03-08 17:38:57 +000094</pre>
95
96<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000097Proceed to the <a href="install.html">compilation and installation
Brian Paul0b27ace2003-03-08 17:38:57 +000098instructions</a>.
99</p>
100
Brian Paul0b27ace2003-03-08 17:38:57 +0000101
102</BODY>
103</HTML>