source: doc/installing.rst @ 21eb4c2

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 21eb4c2 was 09ff6ee, checked in by Paul Brossier <piem@piem.org>, 8 years ago

doc/installing.rst: improve cheats

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[5069da3]1Installing aubio
2================
[34abeaf]3
[afa218c2]4aubio runs on Linux, Windows, macOS, iOS, Android, and probably a few others
5operating systems.
[34abeaf]6
[6f6c336]7Aubio is available as a C library and as a python module.
[34abeaf]8
[6f6c336]9Cheat sheet
10-----------
[34abeaf]11
[09ff6ee]12- :ref:`get aubio latest source code <building>`::
[0f3ee60]13
[6f6c336]14    # official repo
15    git clone https://git.aubio.org/aubio/aubio
16    # mirror
17    git clone https://github.com/aubio/aubio
18    # latest release
19    wget https://aubio.org/pub/aubio-<version>.tar.gz
[5069da3]20
[6f6c336]21
22- :ref:`build aubio from source <building>`::
23
24    # 1. simple
25    cd aubio
26    make
27
28    # 2. step by step
29    ./scripts/get_waf.sh
30    ./waf configure
31    ./waf build
32    sudo ./waf install
33
34- :ref:`install python-aubio from source <python>`::
35
36    # from git
[09ff6ee]37    pip install git+https://git.aubio.org/aubio/aubio/
[6f6c336]38    # mirror
[09ff6ee]39    pip install git+https://github.com/aubio/aubio/
[6f6c336]40    # from latest release
[09ff6ee]41    pip install https://aubio.org/pub/aubio-latest.tar.bz2
[6f6c336]42    # from pypi
43    pip install aubio
44    # from source directory
45    cd aubio
46    pip install -v .
47
48- :ref:`install python-aubio from a pre-compiled binary <python>`::
49
50      # conda [osx, linux, win]
51      conda install -c conda-forge aubio
[09ff6ee]52      # .deb (debian, ubuntu) [linux]
53      sudo apt-get install python3-aubio python-aubio aubio-tools
54      # brew [osx]
[6f6c336]55      brew install aubio --with-python
56
57- :ref:`get a pre-compiled version of libaubio <download>`::
58
59    # .deb (linux) WARNING: old version
60    sudo apt-get install aubio-tools
61
62    # python module
63    ./setup.py install
64    # using pip
65    pip install .
66
67- :ref:`check the list of optional dependencies <requirements>`::
68
69    # debian / ubuntu
70    dpkg -l libavcodec-dev libavutil-dev libavformat-dev \
[09ff6ee]71            libswresample-dev libavresample-dev \
72            libsamplerate-dev libsndfile-dev \
73            txt2man doxygen
[6f6c336]74
75.. include:: download.rst
76
77.. include:: building.rst
78
[e0e4871]79.. include:: requirements.rst
Note: See TracBrowser for help on using the repository browser.