Please visit the releases page to download official binaries.
You can also install via homebrew on a Mac, and using apt-get on recent version of Debian or Ubuntu.
The Manual describes how to install bali-phy in detail. Simplified instructions are below.
You will need a C++ compiler that understands C++17.
- gcc 7 (or higher) works
- clang 7 (or higher) works
- XCode 10 (or higher) works
You will also need to install
- cairo graphics library (optional, but required to build the
draw-treeprogram)
You will also need
- python3
- ninja
- meson >= 0.52
sudo apt-get install g++ libcairo2-dev ninja-build python3You also need to install meson. First try:
sudo apt-get install mesonIf the version of meson is not at least 0.49, then you need to install meson through pip:
python3 -m venv meson
source meson/bin/activate
pip3 install mesongit clone https://github.com/bredelings/BAli-Phy.git
cd BAli-Phy
meson build --prefix=$HOME/Applications/bali-phy --buildtype=release
ninja -C build install
ninja -C build test
In order to run the installed software, you should add bali-phy to your $PATH.
If you installed in $HOME/Applications/bali-phy/ as recommended above, then files will be in:
| Location | Files |
|---|---|
| ~/Applications/bali-phy/bin | Binary executables. |
| ~/Applications/bali-phy/share/bali-phy/examples/sequences | Example files. |
| ~/Applications/bali-phy/share/doc/bali-phy/ | Documentation. |