9 To download a prebuilt version of aubio, see :ref:`download`.
11 aubio uses `waf`_ to configure, compile, and test the source.
12 A copy of waf is included in aubio tarball, so all you need is a terminal,
13 a compiler, and a recent version of python installed.
16 Make sure you have all the :ref:`requirements` you want before building.
21 The **latest stable release** can be downloaded from https://aubio.org/download::
23 $ curl -O http://aubio.org/pub/aubio-0.4.3.tar.bz2
24 $ tar xf aubio-0.4.3.tar.bz2
30 The **latest git branch** can be obtained with::
32 $ git clone git://git.aubio.org/git/aubio
35 The following command will fetch the correct `waf`_ version (not included in
38 $ ./scripts/get_waf.sh
42 Windows users without `Git Bash`_ installed will want to use the following
47 $ curl -fsS -o waf https://waf.io/waf-1.8.22
48 $ curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat
54 To compile the C library, examples programs, and tests, run::
58 Check out the available options using ``./waf configure --help``. Once
59 you are done with configuration, you can start building::
63 To install the freshly built C library and tools, simply run the following
69 Windows users should simply run ``waf``, without the leading ``./``. For
79 If you wish to uninstall the files installed by the ``install`` command, use
82 $ sudo ./waf uninstall
84 To clean the source directory, use the ``clean`` command::
88 To also forget the options previously passed to the last ``./waf configure``
89 invocation, use the ``distclean`` command::
93 .. _waf: https://waf.io/
95 .. _Git Bash: https://git-for-windows.github.io/