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