Skip to content
master
Switch branches/tags
Code

Latest commit

 

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build and test Appveyor

Install

If you just want to install bali-phy, please visit the release page. If you want to compile BAli-phy from source, the quick start instructions are below.

Compiling

You will need a C++ compiler that understands C++17.

  • gcc 9 (or higher) works
  • clang 8 (or higher) works
  • XCode 11 (or higher) works

Install Prerequisites

On Ubuntu, you can use apt-get:

sudo apt-get install g++ libcairo2-dev meson

On Mac (or Linux, actually) you can use homebrew:

brew install cairo meson

If the version of meson is not at least 0.53, then you need to install meson through the python package manager "pip":

python3 -m venv meson
source meson/bin/activate
pip3 install meson

Build BAli-Phy

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

Adding bali-phy to your $PATH

In order to run the installed software, you should add bali-phy to your $PATH.

Installed locations

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.

Further Documentation

The Manual describes how to install bali-phy in greater detail.