... | ... | @@ -7,16 +7,16 @@ _Precompiled packages (Debian, Ubuntu)_ <br> |
|
|
***Quick-start***: <br>
|
|
|
```
|
|
|
# Add the repository
|
|
|
curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash
|
|
|
curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash
|
|
|
|
|
|
# Update the repository information
|
|
|
sudo apt-get update
|
|
|
|
|
|
# Install preferred package. Eg,
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
sudo apt-get install openfoam2412-default
|
|
|
|
|
|
# Use the openfoam shell session. Eg,
|
|
|
openfoam2406
|
|
|
openfoam2412
|
|
|
```
|
|
|
|
|
|
 The packages do ***not*** contain
|
... | ... | @@ -58,7 +58,7 @@ which conveniently [bundles several operations](#description-install-script). |
|
|
After this you should immediately be able to install your preferred
|
|
|
OpenFOAM package. For example,
|
|
|
```
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
sudo apt-get install openfoam2412-default
|
|
|
```
|
|
|
If your Ubuntu installation is a somewhat older, you may also need to
|
|
|
update the signing certificates first:
|
... | ... | @@ -69,7 +69,7 @@ sudo apt-get update |
|
|
After migrating from one version to another, you can remove the old
|
|
|
version with the usual commands. For example,
|
|
|
```
|
|
|
sudo apt-get autoremove openfoam2406-default
|
|
|
sudo apt-get autoremove openfoam2412-default
|
|
|
```
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | @@ -93,9 +93,9 @@ descriptions, the following represent typical installation commands: |
|
|
|
|
|
|User Group | Command |
|
|
|
|---------------|------------------|
|
|
|
| minimalist | `sudo apt-get install openfoam2406` |
|
|
|
| traditional | `sudo apt-get install openfoam2406-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2406-default` |
|
|
|
| minimalist | `sudo apt-get install openfoam2412` |
|
|
|
| traditional | `sudo apt-get install openfoam2412-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2412-default` |
|
|
|
|
|
|
|
|
|
### Installation locations
|
... | ... | @@ -112,7 +112,7 @@ As documented in [precompiled packages - OpenFOAM environment](/precompiled#envi |
|
|
|
|
|
After adding the repositories and installing a particular version of
|
|
|
OpenFOAM, upgrade notifications should also appear
|
|
|
(for example for `openfoam2406`):
|
|
|
(for example for `openfoam2412`):
|
|
|
|
|
|

|
|
|
|
... | ... | @@ -155,7 +155,7 @@ export WM_PROJECT_DIR=/usr/share/openfoam |
|
|
which means you should immediately be able to install
|
|
|
your preferred OpenFOAM package. For example,
|
|
|
```
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
sudo apt-get install openfoam2412-default
|
|
|
```
|
|
|
|
|
|
- <em>Cannot find MPI library</em><br/>
|
... | ... | @@ -198,7 +198,7 @@ export WM_PROJECT_DIR=/usr/share/openfoam |
|
|
```
|
|
|
|
|
|
---
|
|
|
Copyright (C) 2020-2024 OpenCFD Ltd.
|
|
|
Copyright (C) 2020-2025 OpenCFD Ltd.
|
|
|
|
|
|
[link paraview]: https://www.paraview.org/download/
|
|
|
[faq paraview]: https://discourse.paraview.org/t/i-want-to-visualize-my-openfoam-simulation-results-with-paraview-but-im-confused-which-version-should-i-use |