Install#

The following instructions explain how to install the different Cantera interfaces on a variety of platforms.

Tip

We highly recommend that all new users install the Python interface using 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#

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.

See also

Check the FAQ for solutions to some common installation problems.