blob: 4e8fc2f02f0cbdf73a0d04f8907d1259be82ac6c [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>
José Fonseca9a7f84d2011-07-14 17:28:52 +010028In the past, there was also MesaGLUT-x.y.z.{tar.bz2, tar.gz, zip} packages which
29contained Mark Kilgard's GLUT library.
Brian Paul48f696c2011-04-04 11:16:51 -060030Most Linux distributions include an implementation of GLUT (such as freeglut).
31</p>
32<p>
33In the past, the Mesa demos collection was distributed as
34MesaDemos-x.y.z.{tar.bz2, tar.gz, zip}.
35Now, the
36<a href="ftp://ftp.freedesktop.org/pub/mesa/demos/" target="_parent">
37Mesa demos</a> are distributed separately.
Brian Paul7f8cb302005-09-10 16:57:22 +000038</p>
39
Brian Paul7f8cb302005-09-10 16:57:22 +000040
41<H1>Unpacking</H1>
42
43<p>
Brian Paul48f696c2011-04-04 11:16:51 -060044To unpack .tar.gz files:
Brian Paul7f8cb302005-09-10 16:57:22 +000045</p>
Brian Paul0b27ace2003-03-08 17:38:57 +000046<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060047 tar zxf MesaLib-x.y.z.tar.gz
Brian Paul0b27ace2003-03-08 17:38:57 +000048</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000049or
50<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060051 gzcat MesaLib-x.y.z.tar.gz | tar xf -
Brian Paul7f8cb302005-09-10 16:57:22 +000052</pre>
53or
54<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060055 gunzip MesaLib-x.y.z.tar.gz ; tar xf MesaLib-x.y.z.tar
Brian Paul7f8cb302005-09-10 16:57:22 +000056</pre>
Brian Paul48f696c2011-04-04 11:16:51 -060057<p>
58To unpack .tar.bz2 files:
59</p>
Brian Paul7f8cb302005-09-10 16:57:22 +000060<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060061 bunzip2 -c MesaLib-x.y.z.tar.gz | tar xf -
Brian Paul7f8cb302005-09-10 16:57:22 +000062</pre>
Brian Paul48f696c2011-04-04 11:16:51 -060063<p>
64To unpack .zip files:
65</p>
Brian Paul7f8cb302005-09-10 16:57:22 +000066<pre>
Brian Paul48f696c2011-04-04 11:16:51 -060067 unzip MesaLib-x.y.z.zip
Brian Paul7f8cb302005-09-10 16:57:22 +000068</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000069
70
71<h1>Contents</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000072
73<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +000074After unpacking you'll have these files and directories (among others):
Brian Paul0b27ace2003-03-08 17:38:57 +000075</p>
76<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000077Makefile - top-level Makefile for most systems
78configs/ - makefile parameter files for various systems
Brian Paul0b27ace2003-03-08 17:38:57 +000079include/ - GL header (include) files
Brian Paulafc04282003-09-03 23:04:31 +000080bin/ - shell scripts for making shared libraries, etc
Brian Paul0b27ace2003-03-08 17:38:57 +000081docs/ - documentation
Brian Paulafc04282003-09-03 23:04:31 +000082src/ - source code for libraries
83src/mesa - sources for the main Mesa library and device drivers
Brian Paul48f696c2011-04-04 11:16:51 -060084src/gallium - sources for Gallium and Gallium drivers
Brian Paulafc04282003-09-03 23:04:31 +000085src/glu - libGLU source code
Brian Pauld9eff8b2006-07-12 20:14:43 +000086src/glx - sources for building libGL with full GLX and DRI support
Brian Paul7f8cb302005-09-10 16:57:22 +000087</pre>
Brian Paulafc04282003-09-03 23:04:31 +000088
Brian Paul48f696c2011-04-04 11:16:51 -060089If you downloaded and unpacked the MesaGLUT.x.y.z package:
Brian Paul7f8cb302005-09-10 16:57:22 +000090<pre>
91src/glut - GLUT library source code
Brian Paul0b27ace2003-03-08 17:38:57 +000092</pre>
93
94<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000095Proceed to the <a href="install.html">compilation and installation
Brian Paul0b27ace2003-03-08 17:38:57 +000096instructions</a>.
97</p>
98
Brian Paul0b27ace2003-03-08 17:38:57 +000099
100</BODY>
101</HTML>