1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3<head>
4  <meta http-equiv="content-type" content="text/html; charset=utf-8">
5  <title>Getting Mesa</title>
6  <link rel="stylesheet" type="text/css" href="mesa.css">
7</head>
8<body>
9
10<h1>Downloading</h1>
11
12<p>
13Primary Mesa download site:
14<a href="ftp://ftp.freedesktop.org/pub/mesa/"
15target="_parent">freedesktop.org</a> (FTP)
16</p>
17
18<p>
19When a new release is coming, release candidates (betas) may be found
20<a href="ftp://ftp.freedesktop.org/pub/mesa/beta/" target="_parent">here</a>.
21</p>
22
23
24<h1>Unpacking</h1>
25
26<p>
27Mesa releases are available in three formats: .tar.bz2, .tar.gz, and .zip
28</p>
29
30<p>
31To unpack .tar.gz files:
32</p>
33<pre>
34	tar zxf MesaLib-x.y.z.tar.gz
35</pre>
36or
37<pre>
38	gzcat MesaLib-x.y.z.tar.gz | tar xf -
39</pre>
40or
41<pre>
42	gunzip MesaLib-x.y.z.tar.gz ; tar xf MesaLib-x.y.z.tar
43</pre>
44<p>
45To unpack .tar.bz2 files:
46</p>
47<pre>
48	bunzip2 -c MesaLib-x.y.z.tar.gz | tar xf -
49</pre>
50<p>
51To unpack .zip files:
52</p>
53<pre>
54	unzip MesaLib-x.y.z.zip
55</pre>
56
57
58<h1>Contents</h1>
59
60<p>
61After unpacking you'll have these files and directories (among others):
62</p>
63<pre>
64Makefile	- top-level Makefile for most systems
65configs/	- makefile parameter files for various systems
66include/	- GL header (include) files
67bin/		- shell scripts for making shared libraries, etc
68docs/		- documentation
69src/		- source code for libraries
70src/mesa	- sources for the main Mesa library and device drivers
71src/gallium     - sources for Gallium and Gallium drivers
72src/glx		- sources for building libGL with full GLX and DRI support
73</pre>
74
75
76<p>
77Proceed to the <a href="install.html">compilation and installation
78instructions</a>.
79</p>
80
81
82<h1>Demos, GLUT, and GLU</h1>
83
84<p>
85A package of SGI's GLU library is available
86<a href="ftp://ftp.freedesktop.org/pub/mesa/glu/" target="_parent">here</a>
87</p>
88
89<p>
90A package of Mark Kilgard's GLUT library is available
91<a href="ftp://ftp.freedesktop.org/pub/mesa/glut/" target="_parent">here</a>
92</p>
93
94<p>
95The Mesa demos collection is available
96<a href="ftp://ftp.freedesktop.org/pub/mesa/demos/" target="_parent">here</a>
97</p>
98
99<p>
100In the past, GLUT, GLU and the Mesa demos were released in conjunction with
101Mesa releases.  But since GLUT, GLU and the demos change infrequently, they
102were split off into their own git repositories:
103
104<a href="http://cgit.freedesktop.org/mesa/glut/">GLUT</a>,
105<a href="http://cgit.freedesktop.org/mesa/glu/">GLU</a> and
106<a href="http://cgit.freedesktop.org/mesa/demos/">Demos</a>,
107</p>
108
109
110</body>
111</html>
112