Installing on Gentoo¶
Gentoo sci-libs/cantera-2.4.0 package is provided using a main portage tree. Additionally the app-doc/cantera-docs package is provided for offline Documentation API reference for Cantera package libraries. Note that the Matlab interface is not available from this package; to install the Matlab interface on Gentoo, you must compile the source code.
The following interfaces and tools are installed by default:
C++ Libraries and header files for compiling your own programs that use Cantera.
CTI tools (
ctiUSE flag, optional).
Python module for Python 3 (
pythonUSE flag with appropriate
The following additional interface is available:
Fortran Library and module files for compiling your own programs that use Cantera (
fortranUSE flag, optional)
Most likely these packages and/or some of their dependencies still have unstable status in the Gentoo portage tree
and then you have to
unmask (allow to install within stable system) them preliminarily using /etc/portage/package.accept_keywords.
/etc/portage/package.accept_keywords is present in your system as file then (for 64-bit architecture) you could unmask
sci-libs/cantera package by running command (as root)
/etc/portage/package.accept_keywords is present in your system as directory then run command (as root)
If you plan on using Cantera from Python, you may also want to install IPython (dev-python/ipython, an advanced interactive Python interpreter) and Matplotlib (dev-python/matplotlib, a plotting library). Matplotlib is required to run some of the Python examples. These packages can be installed with: