Cadabra
a field-theory motivated approach to computer algebra

Download and install

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.

After installation you also need to run sudo yum install epel-release; sudo yum install python-pip; sudo pip install sympy in order to enable component computations.
After installation you also need to run sudo yum install epel-release; sudo yum install python-pip; sudo pip install sympy in order to enable component computations.
macOS
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 info@cadabra.science 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.
You will need a Python3 installation from Anaconda 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 This is probably the simplest way to get the Cadabra Jupyter kernel on your system, even if you are running one of the distributions listed above.

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

Build from source (Linux/macOS/Windows)

Alternatively, you can compile Cadabra from source yourself (not difficult). The source 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.

Copyright © 2001-2020 Kasper Peeters
Questions? info@cadabra.science