3 <TITLE>Getting Mesa
</TITLE>
5 <BODY text=
"#000000" bgcolor=
"#55bbff" link=
"#111188">
7 <H1>Downloading / Unpacking
</H1>
10 Mesa can be downloaded from the
11 <a href=
"http://www.sourceforge.net/projects/mesa3d" target=
"_parent">
12 SourceForge download area
</A>.
16 Since version
2.3, Mesa is distributed in two pieces: main library code
17 and demos. If you're upgrading from a previous version of Mesa or you're not
18 interested in the demos you can just download the core Mesa archive file.
22 Mesa is available in at least three archive formats:
28 Download MesaLib-X.Y.tar.gz and optionally MesaDemos-X.Y.tar.gz
30 gzcat MesaLib-X.Y.tar.gz | tar xf -
31 gzcat MesaDemos-X.Y.tar.gz | tar xf -
33 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
34 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
36 tar zxf MesaLib-X.Y.tar.gz
37 tar zxf MesaDemos-X.Y.tar.gz
39 If you don't have gzcat try zcat instead.
41 2. Unix compressed/tar
43 Download MesaLib-X.Y.tar.Z and optionally MesaDemos-X.Y.tar.Z
45 zcat MesaLib-X.Y.tar.Z | tar xf -
46 zcat MesaDemos-X.Y.tar.Z | tar xf -
50 Download MesaLib-X.Y.zip and optionally MesaDemos-X.Y.zip
53 unzip MesaDemos-X.Y.zip
57 After unpacking you'll have these directories (and more):
60 Makefile.X11 - top-level Makefile for X11-based systems
61 Make-config - system configurations used by the Makefile.X11
62 include/ - GL header (include) files
63 bin/ - shell scripts for making shared libraries, etc
64 lib/ - final client libraries, created during compilation
66 src/ - source code for libraries
67 src/mesa - sources for the main Mesa library and device drivers
68 src/glu - libGLU source code
69 src/glw - Xt/Motif/OpenGL widget code
72 and if you downloaded and unpacked the MesaDemos.X.Y archive:
74 src/glut - GLUT source code
75 progs/ - OpenGL programs
76 progs/demos - original Mesa demos
77 progs/xdemos - GLX OpenGL/Mesa demos
78 progs/redbook - examples from the OpenGL Programming Guide
79 progs/samples - examples from SGI
80 progs/images/ - image files
85 Proceed to
<a href=
"install.html">compilation and installation
92 Mesa
2.5 and later includes Mark Kilgard's GLUT library (GL Utility Toolkit).
93 GLUT is built automatically on systems which support it.
96 The GLUT tests, demos, examples, etc are not included, just the main library.
97 To obtain the latest complete release of GLUT please visit the
98 <a href=
"http://www.opengl.org/resources/libraries/glut.html"
99 target =
"_parent">GLUT page
</a> on www.opengl.org.