Documentation for Release 2024.1
Ubuntu package
For Ubuntu users, there is a package available to greatly ease the installation of Chaste. It requires an Ubuntu version of Focal (20.04) or newer. Chaste can also be run on other versions of Linix, macOS and Windows using Docker.
The package has been tested with all versions of Ubuntu from Intrepid (8.10) to Jammy (22.04) inclusive, and will be adapted to new versions as soon as possible after they are released.
Each release of Chaste should work with all supported versions of Ubuntu at the time of the Chaste release. But note that the latest Chaste releases won’t work with the oldest (unsupported) Ubuntus, and the older Chaste releases (and their associated bolt-on projects) probably won’t work with the newest Ubuntus without some updating (to use newer dependencies and compilers). The development code should always work with all the currently supported versions of Ubuntu.
1. Accessing the Chaste Package
The package can be downloaded using your package manager (e.g. apt) by adding our repository to your configuration. This can be done by, for example, opening a terminal and running
and, depending on your version of Ubuntu, add one of the following lines to the chaste.list
text file:
Ubuntu 22.04 LTS
Ubuntu 21.10
Ubuntu 21.04
Ubuntu 20.10
Ubuntu 20.04 LTS
The last component of the line depends on your version of Ubuntu, as listed at https://wiki.ubuntu.com/DevelopmentCodeNames.
Type lsb_release -a
to find this out if you don’t already know it.
Note that the trailing “/” is necessary!
Next, install the Chaste public licence key. Back in the terminal, type:
2. Getting the correct dependencies
After following point 1 above, you should be able to install the dependencies for Chaste by running:
You should now decide whether you want to be a Code User or a Code Developer.
- Code Users - are people who want to work with a stable released version of the Chaste code (a new release is made roughly every six months).
- Code Developers - (both internal and external to the core team) are people who want to work with the latest development version of the Chaste code, between the main stable releases.
See Getting Started for more detail if you still aren’t sure.
2a. For Code USERS (working with a release, rather than developers)
You can obtain the latest stable release of the Chaste source code from our GitHub repository:
Finally, follow the CMake First Run Guide to get up and running with Chaste.
Installing previous releases
If you want a specific version of Chaste, and do not want to stay up-to-date with new versions on the release
branch from our Git repository, you can download the source code from our GitHub releases page, back to Release 3.0.
2b. For Code DEVELOPERS (or users working with the latest trunk code and projects)
To install the suggested packages: