3 <TITLE>Getting Mesa
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
12 Primary Mesa download site:
13 <a href=
"ftp://ftp.freedesktop.org/pub/mesa/"
14 target=
"_parent">freedesktop.org
</a> (FTP)
18 When 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>.
24 Mesa is distributed in several parts:
27 <li><b>MesaLib-x.y.z
</b> - the main Mesa library source code, drivers
30 <li><b>MesaDemos-x.y.z
</b> - OpenGL demonstration and test programs.
31 Most of the programs require GLUT (either the
32 <a href=
"http://www.opengl.org/resources/libraries/glut"
33 target=
"_parent">original GLUT by Mark Kilgard
</a> or
34 <a href=
"http://freeglut.sourceforge.net" target=
"_parent">freeglut
</a> or
35 <a href=
"http://openglut.sourceforge.net" target=
"_parent">OpenGLUT
</a>).
37 <li><b>MesaGLUT-x.y.z
</b> - Mark Kilgard's GLUT, easily compiled and used
38 with Mesa. Plus, other implementation of GLUT for DOS, OS/
2, BeOS, etc.
43 If you're not interested in running the demos, you'll only need the first
48 If you're new to this and not sure what you're doing, grab all three packages.
52 The packages are available in .tar.gz, .tar.bz2 and .zip formats.
53 Other sites might offer additional package formats.
59 All the packages should be in the same directory prior to unpacking.
63 <li>To unpack .tar.gz files:
65 tar zxf MesaLib-X.Y.tar.gz
66 tar zxf MesaDemos-X.Y.tar.gz
67 tar zxf MesaGLUT-X.Y.tar.gz
71 gzcat MesaLib-X.Y.tar.gz | tar xf -
72 gzcat MesaDemos-X.Y.tar.gz | tar xf -
73 gzcat MesaGLUT-X.Y.tar.gz | tar xf -
77 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
78 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaDemos-X.Y.tar
79 gunzip MesaGLUT-X.Y.tar.gz ; tar xf MesaGLUT-X.Y.tar
81 <li>To unpack .tar.bz2 files:
83 bunzip2 -c MesaLib-X.Y.tar.gz | tar xf -
84 bunzip2 -c MesaDemos-X.Y.tar.gz | tar xf -
85 bunzip2 -c MesaGLUT-X.Y.tar.gz | tar xf -
87 <li>To unpack .zip files:
90 unzip MesaDemos-X.Y.zip
91 unzip MesaGLUT-X.Y.zip
99 After unpacking you'll have these files and directories (among others):
102 Makefile - top-level Makefile for most systems
103 configs/ - makefile parameter files for various systems
104 include/ - GL header (include) files
105 bin/ - shell scripts for making shared libraries, etc
106 docs/ - documentation
107 src/ - source code for libraries
108 src/mesa - sources for the main Mesa library and device drivers
109 src/glu - libGLU source code
110 src/glx - sources for building libGL with full GLX and DRI support
111 src/glw - Xt/Motif/OpenGL widget code
114 If you downloaded and unpacked the MesaDemos.X.Y package:
117 progs/demos - original Mesa demos
118 progs/xdemos - GLX OpenGL/Mesa demos
119 progs/redbook - examples from the OpenGL Programming Guide
120 progs/samples - examples from SGI
121 progs/images/ - image files
124 If you downloaded and unpacked the MesaGLUT.X.Y package:
126 src/glut - GLUT library source code
130 Proceed to the
<a href=
"install.html">compilation and installation