Installing Cantera¶
The following instructions detail how to install the different Cantera interfaces on a variety of platforms. We highly recommend that all new users install the Python interface via Conda.
Installing the Cantera Python Interface¶
If you don't already have Python installed (or already use Conda), the easiest way to install the Cantera Python interface on all operating systems is by using Conda.
If you already have a different Python installation, Cantera can be installed using Pip.
Ubuntu users can install the
cantera-python3
package from the Cantera PPA.Fedora / Enterprise Linux users can install
python3-cantera
using dnf.OpenSUSE users can install packages using zypper.
Gentoo users can install using emerge.
FreeBSD users can install using pkg.
If you want to use the current development version, or add features of your own, you should compile Cantera from source.
Installing the Cantera Matlab Toolbox¶
The Cantera Matlab toolbox can be installed on all operating systems using Conda.
Windows users can use MSI installer packages.
macOS users can also install using a .pkg installer.
If you want to use the current development version, or add features of your own, you should compile Cantera from source.
Installing the Cantera C++ Interface & Fortran 90 Module¶
The Cantera development interface can be installed on all operating systems using Conda.
Ubuntu users can install the
cantera-dev
package from the Cantera PPA.Fedora / Enterprise Linux users can install packages using yum/dnf.
OpenSUSE users can install packages using zypper.
Gentoo users can install using emerge.
FreeBSD users can install using pkg.
Users of other Linux distributions should compile Cantera from source.