网页
综合
更新时间 2026-11-14 10:02:01
Ubuntu Packages — Cantera 3.2.0 documentation
自动蜘蛛
cantera.org
正文约 2731 字
As of Cantera 3.2.0, packages are available for Ubuntu 24.04 (Noble Numbat) and Ubuntu 25.10 (Questing Quokka). Generally, packages are available for the most-recent LTS release and the latest non-LTS release. Packages for other Ubuntu releases supported by Launchpad are provided on a best-effort basis. To see which Ubuntu releases and Cantera versions are currently supported, visit the Cantera PPA.
The available packages are:
python3-cantera - The Cantera Python module for Python 3.
libcantera-dev - Libraries and header files for compiling your own C, C++ and Fortran 90 programs that use Cantera.
cantera-common - Cantera data files and example programs
Samples for all language interfaces are installed to /usr/share/cantera/samples/
Data files are installed in /usr/share/cantera/data/. This location is automatically added to the Cantera data path.
libcantera3.2 - The Cantera C++ library, for use by packaged C++ applications.
libcantera-fortran3.2 - The Cantera Fortran 90 library, for use by packaged Fortran 90 applications.
cantera - A metapackage that will install everything except for the development files.
To add the Cantera PPA:
To install all of the Cantera packages:
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:
If you already have Cantera installed from the cantera-team PPA, you can ensure that you have the latest available version installed by running:
If you also have the libcantera-dev package installed, it should also be included on the apt install command line.
Sometimes, pre-release (alpha or beta) versions of Cantera which represent work toward the next Cantera release will be available for users who want to use cutting-edge features or test compatibility with the new version before it is released. To see the latest Cantera versions available from this PPA, visit https://launchpad.net/~cantera-team/+archive/ubuntu/cantera-unstable.
These packages can be installed by additionally enabling the cantera-team/cantera-unstable PPA and then upgrading Cantera:
You should also have the cantera-team/cantera PPA enabled, since the cantera-unstable PPA only includes development versions.
If you later want to remove the development version and return to the latest stable version, run the commands:
© Copyright 2001-2025, Cantera Developers.
Created using Sphinx 7.3.7.
Built with the PyData Sphinx Theme 0.15.4.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。