{% extends "layout.html" %} {% block title %}Cadabra: Download{% endblock %} {% block head %}{%- endblock %} {% block main %}

# 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.

Ubuntu Bionic Beaver 18.04
Ubuntu Focal Fossa 20.04
Ubuntu Jammy Jellyfish 22.04
Cadabra is now available in Ubuntu 22.04 from the official repositories, by installing the `cadabra2` package (though this may not always be the most recent version). Thanks to Alex Myczko for making this happen.
Fedora 28
Fedora 29
Fedora 32
Fedora 33
Fedora 35
Mint Tara 19
Mint Ulyana 20
Mint Vanessa 21
openSUSE Leap 15.0
openSUSE Tumbleweed
Debian Stretch 9
Debian Buster 10
Cadabra is now available in Debian 11 (Bullseye) from the official repositories, by installing the `cadabra2` package (though this may not always be the most recent version). Thanks to Alex Myczko for making this happen.
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.
Windows 10
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 info@cadabra.science to request a package for your distribution.

{%- endblock %}