a field-theory motivated approach to computer algebra

Download and install

Build from source (Linux/macOS/Windows)

The source is of Cadabra is distributed via github, see the kpeeters/cadabra2 repository for more details, including the pre-requisites.

You can build .deb and .rpm packages yourself when building from source, by running sudo cpack after a successful build. Note that on rpm systems this requires the use of cmake3 and cpack3; the default cmake will lead to a broken package.

Binary packages

Packages for various Linux distributions and for Windows (beta!) are available for download here. Installation on macOS can be done through HomeBrew or Conda; see below.

Use at your own risk. Because of time constraints some of these packages receive almost no testing, so any feedback is welcome. If you want to help getting these into official distribution repositories, please let me know.

Cadabra is now also available in Debian Unstable (`Sid') as cadabra2.
Cadabra is available via the Homebrew package manager. First make sure that you have MacTeX installed, either by installing it directly, or by using homebrew with brew tap caskroom/cask brew cask install mactex After that, you can install Cadabra using brew tap kpeeters/repo brew install cadabra2 /usr/local/bin/python3 -m pip install sympy gmpy2 Please not that this has not yet received a lot of testing; if you encounter problems, please email so they can be fixed and other people can benefit from it.
If you want to build from source, see macOS build instructions for details.
Windows is currently unsupported, and the installer is broken. Volunteers welcome to help bring this back to life.
You will need a Python3 installation from Anaconda (64-bits, Python 3.8) and a LaTeX installation (tested with MikTeX, others may work too) in order for this to work. Install those first if you do not have them already. The Windows port and this binary installer are in beta right now, please report any problems. Many thanks to Dominic Price for making this become reality.
If you want to build from source, see Windows build instructions for details.
On Linux and macOS, you can install Cadabra, its native notebook interface, and the Jupyter kernel via Conda or Anaconda, thanks to the work of Isuru Fernando. Activate the conda-forge channel if you have not done that already, with conda config --add channels conda-forge conda config --set channel_priority strict and then install these packages by using one of the following lines: conda install cadabra2 conda install cadabra2-gtk conda install cadabra2-jupyter-kernel

Is your distribution not listed above? Either build Cadabra from source (see below) or send an email to to request a package for your distribution.

Copyright © 2001-2021 Kasper Peeters