blob: 06a967aa3a6fd4e116d08e27c14338ef473851ec [file] [log] [blame]
Erik Faye-Lund4d066832020-06-12 20:09:42 +02001Downloading and Unpacking
2=========================
3
4Downloading
5-----------
6
7You can download the released versions of Mesa via
8`HTTPS <https://mesa.freedesktop.org/archive/>`__ or
9`FTP <ftp://ftp.freedesktop.org/pub/mesa/>`__.
10
11Starting with the first release of 2017, Mesa's version scheme is
12year-based. Filenames are in the form ``mesa-Y.N.P.tar.gz``, where ``Y``
13is the year (two digits), ``N`` is an incremental number (starting at 0)
14and ``P`` is the patch number (0 for the first release, 1 for the first
15patch after that).
16
17When a new release is coming, release candidates (betas) may be found in
18the same directory, and are recognisable by the
19``mesa-Y.N.P-rcX.tar.gz`` filename.
20
21Unpacking
22---------
23
24Mesa releases are available in two formats: ``.tar.xz`` and ``.tar.gz``.
25
26To unpack the tarball:
27
Erik Faye-Lundd6be9942019-06-04 14:14:13 +020028.. code-block:: console
Erik Faye-Lund4d066832020-06-12 20:09:42 +020029
30 tar xf mesa-Y.N.P.tar.xz
31
32or
33
Erik Faye-Lundd6be9942019-06-04 14:14:13 +020034.. code-block:: console
Erik Faye-Lund4d066832020-06-12 20:09:42 +020035
36 tar xf mesa-Y.N.P.tar.gz
37
38Contents
39--------
40
Erik Faye-Lund9be0e2d2020-06-15 12:31:36 +020041Proceed to the :doc:`compilation and installation
42instructions <install>`.
Erik Faye-Lund4d066832020-06-12 20:09:42 +020043
44Demos, GLUT, and GLU
45--------------------
46
47A package of SGI's GLU library is available
48`here <ftp://ftp.freedesktop.org/pub/mesa/glu/>`__
49
50A package of Mark Kilgard's GLUT library is available
51`here <ftp://ftp.freedesktop.org/pub/mesa/glut/>`__
52
53The Mesa demos collection is available
54`here <ftp://ftp.freedesktop.org/pub/mesa/demos/>`__
55
56In the past, GLUT, GLU and the Mesa demos were released in conjunction
57with Mesa releases. But since GLUT, GLU and the demos change
58infrequently, they were split off into their own git repositories:
59`GLUT <https://gitlab.freedesktop.org/mesa/glut>`__,
60`GLU <https://gitlab.freedesktop.org/mesa/glu>`__ and
61`Demos <https://gitlab.freedesktop.org/mesa/demos>`__,