... | ... | @@ -10,16 +10,16 @@ _Precompiled packages (Ubuntu)_ <br> |
|
|
curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash
|
|
|
|
|
|
# Install preferred package. Eg,
|
|
|
sudo apt-get install openfoam2112-default
|
|
|
sudo apt-get install openfoam2206-default
|
|
|
|
|
|
# Use the openfoam shell session. Eg,
|
|
|
openfoam2112
|
|
|
openfoam2206
|
|
|
```
|
|
|
|
|
|
![!!](/icons/alert-triangle.svg) The packages do ***not*** contain
|
|
|
_visualization_ (eg, ParaView/runTimePostProcessing) or
|
|
|
_external-solver_ (eg, PETSc) modules: <br/>
|
|
|
see the [corresponding **FAQ**](/precompiled/#frequently-asked-questions)
|
|
|
see the [corresponding **FAQ**](/precompiled#frequently-asked-questions)
|
|
|
|
|
|
----
|
|
|
|
... | ... | @@ -55,13 +55,13 @@ 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 openfoam2112-default
|
|
|
sudo apt-get install openfoam2206-default
|
|
|
```
|
|
|
|
|
|
After migrating from one version to another, you can remove the old
|
|
|
version with the usual commands. For example,
|
|
|
```
|
|
|
sudo apt-get autoremove openfoam2112-default
|
|
|
sudo apt-get autoremove openfoam2206-default
|
|
|
```
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | @@ -85,9 +85,9 @@ descriptions, the following represent typical installation commands: |
|
|
|
|
|
|User Group | Command |
|
|
|
|---------------|------------------|
|
|
|
| minimalist | `sudo apt-get install openfoam2112` |
|
|
|
| traditional | `sudo apt-get install openfoam2112-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2112-default` |
|
|
|
| minimalist | `sudo apt-get install openfoam2206` |
|
|
|
| traditional | `sudo apt-get install openfoam2206-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2206-default` |
|
|
|
|
|
|
|
|
|
### Installation locations
|
... | ... | @@ -104,7 +104,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 `openfoam2112`):
|
|
|
(for example for `openfoam2206`):
|
|
|
|
|
|
![ubuntu-upgrade](/images/ubuntu-update.png)
|
|
|
|
... | ... | @@ -147,7 +147,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 openfoam2112-default
|
|
|
sudo apt-get install openfoam2206-default
|
|
|
```
|
|
|
|
|
|
- <em>Cannot find MPI library</em><br/>
|
... | ... | |