Installing on Fedora

RPM packages are provided for supported versions of Fedora Linux. Stable builds are available in the official repositories and development builds are in a Community Projects (COPR) repository. The Matlab interface is not available from this archive; to install the Matlab interface on Fedora, you must compile the source code.

As of Cantera 2.6.0, packages are available for currently supported releases of Fedora Linux and Fedora Rawhide as well as Enterprise Linux 8.

The available packages are:

  • python3-cantera - The Cantera Python module for Python 3.

  • cantera-devel - Shared object libraries and header files for compiling your own C++ and Fortran 90 programs that use Cantera.

  • cantera-common - Cantera data files and example programs.

  • cantera-static - Static libraries for C++ and Fortran 90 development.

Cantera is available in the official repositories for Fedora - no configuration changes are required.

On Enterprise Linux, if not already enabled, add the "Extra Packages for Enterprise Linux" (EPEL) repository:

$ dnf install epel-release

To install all of the Cantera packages:

$ dnf install python3-cantera cantera-devel

or install whichever subset you need by adjusting the above command. The cantera-common package is installed as a dependency if any other Cantera packages are selected.

If you plan on using Cantera from Python, you may also want to install IPython (an advanced interactive Python interpreter) and Matplotlib (a plotting library). Matplotlib is required to run some of the Python examples. These packages can be installed with:

$ dnf install python3-matplotlib python3-ipython

To access the development builds of Cantera 3+, enable the COPR, then install as described above:

$ dnf copr enable fuller/cantera-test