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(HTTPS).
24</p>
25
26<p>
27Starting with the first release of 2017, Mesa's version scheme is
28year-based. Filenames are in the form <tt>mesa-Y.N.P.tar.gz</tt>, where
29<tt>Y</tt> is the year (two digits), <tt>N</tt> is an incremental number
30(starting at 0) and <tt>P</tt> is the patch number (0 for the first
31release, 1 for the first patch after that).
32</p>
33
34<p>
35When a new release is coming, release candidates (betas) may be found
36in the same directory, and are recognisable by the
37<tt>mesa-Y.N.P-<b>rc</b>X.tar.gz</tt> filename.
38</p>
39
40
41<h1>Unpacking</h1>
42
43<p>
44Mesa releases are available in two formats: <tt>.tar.xz</tt> and <tt>.tar.gz</tt>.
45</p>
46
47<p>
48To unpack the tarball:
49<pre>
50	tar xf mesa-Y.N.P.tar.xz
51</pre>
52or
53<pre>
54	tar xf mesa-Y.N.P.tar.gz
55</pre>
56</p>
57
58
59<h1>Contents</h1>
60
61<p>
62After unpacking you'll have these files and directories (among others):
63</p>
64<pre>
65autogen.sh	- Autoconf script for *nix systems
66scons/		- SCons script for Windows builds
67include/	- GL header (include) files
68bin/		- shell scripts for making shared libraries, etc
69docs/		- documentation
70src/		- source code for libraries
71src/mesa	- sources for the main Mesa library and device drivers
72src/gallium     - sources for Gallium and Gallium drivers
73src/glx		- sources for building libGL with full GLX and DRI support
74</pre>
75
76
77<p>
78Proceed to the <a href="install.html">compilation and installation
79instructions</a>.
80</p>
81
82
83<h1>Demos, GLUT, and GLU</h1>
84
85<p>
86A package of SGI's GLU library is available
87<a href="ftp://ftp.freedesktop.org/pub/mesa/glu/">here</a>
88</p>
89
90<p>
91A package of Mark Kilgard's GLUT library is available
92<a href="ftp://ftp.freedesktop.org/pub/mesa/glut/">here</a>
93</p>
94
95<p>
96The Mesa demos collection is available
97<a href="ftp://ftp.freedesktop.org/pub/mesa/demos/">here</a>
98</p>
99
100<p>
101In the past, GLUT, GLU and the Mesa demos were released in conjunction with
102Mesa releases.  But since GLUT, GLU and the demos change infrequently, they
103were split off into their own git repositories:
104
105<a href="https://cgit.freedesktop.org/mesa/glut/">GLUT</a>,
106<a href="https://cgit.freedesktop.org/mesa/glu/">GLU</a> and
107<a href="https://cgit.freedesktop.org/mesa/demos/">Demos</a>,
108</p>
109
110</div>
111</body>
112</html>
113