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++14.
- gcc 5 (or higher) works
- clang 3.5 (or higher) works
- XCode 6.0 (or higher) works
You will also need to install
- cairo graphics library (optional, but required to build the
draw-tree
program)
You will also need
- python3
- ninja
- meson >= 0.45
sudo apt-get install g++ libcairo2-dev ninja-build python3
You also need to install meson. First try:
sudo apt-get install meson
If the version of meson is not at least 0.45, then you need to install meson through pip:
python3 -m venv meson
source meson/bin/activate
pip3 install meson
git clone https://github.com/bredelings/BAli-Phy.git
cd BAli-Phy
meson build --prefix=$HOME/Applications/bali-phy
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. |