113 lines (87 sloc) 2.65 KB


Mac OS X

Tested on Mac OS X 10.9.4 with homebrew already installed:

brew install libpng
brew install python3
brew install --with-python3 boost-python
brew install qt5
brew install lemon
brew install flex
brew install ninja
brew install cmake

git clone
cd antimony
mkdir build
cd build

cmake -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.6.1 -GNinja ..

open app/


Tested on a clean Xubuntu 16.04 virtual machine:

# Install dependencies
sudo apt install git build-essential libpng-dev python3-dev libboost-all-dev  libgl1-mesa-dev lemon flex qt5-default ninja-build cmake

# Clone the repo
git clone
cd antimony

# Make a build folder
mkdir build
cd build

# Build and launch the application
cmake -GNinja ..

To put Antimony on your path, call sudo ninja install. This does two things:

  • The antimony executable is copied to /usr/local/bin
  • Antimony's Python libraries are copied to /usr/local/share/antimony

Debian packaging

Packaging for the Debian or flavors based on it can be done using the content of deploy/linux/debian directory.

In the project's root directory create a symbolic link:

ln -s deploy/linux/debian debian

Build the package:

dpkg-buildpackage -us -uc

At the end of this you'll find the packages in the directory containing the project's root directory. For example:


To install the package, as root or using sudo:

dpkg --install antimony_0.9.2_amd64.deb


cannot find -lGL

If running make gives the /usr/bin/ld: cannot find -lGL, create a symlink to the libGL file:

ln -s /usr/lib/x86_64-linux-gnu/mesa/ /usr/lib/

Missing top menu

If the top menu bar is not appearing in Ubuntu with a non-Unity desktop environment (e.g. gnome-session-flashback), run

sudo apt-get remove appmenu-qt5

to make it appear.