... | ... | @@ -13,10 +13,10 @@ curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash |
|
|
sudo apt-get update
|
|
|
|
|
|
# Install preferred package. Eg,
|
|
|
sudo apt-get install openfoam2306-default
|
|
|
sudo apt-get install openfoam2312-default
|
|
|
|
|
|
# Use the openfoam shell session. Eg,
|
|
|
openfoam2306
|
|
|
openfoam2312
|
|
|
```
|
|
|
|
|
|
![!!](/icons/alert-triangle.svg) 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 openfoam2306-default
|
|
|
sudo apt-get install openfoam2312-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 openfoam2306-default
|
|
|
sudo apt-get autoremove openfoam2312-default
|
|
|
```
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | @@ -93,9 +93,9 @@ descriptions, the following represent typical installation commands: |
|
|
|
|
|
|User Group | Command |
|
|
|
|---------------|------------------|
|
|
|
| minimalist | `sudo apt-get install openfoam2306` |
|
|
|
| traditional | `sudo apt-get install openfoam2306-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2306-default` |
|
|
|
| minimalist | `sudo apt-get install openfoam2312` |
|
|
|
| traditional | `sudo apt-get install openfoam2312-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2312-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 `openfoam2306`):
|
|
|
(for example for `openfoam2312`):
|
|
|
|
|
|
![ubuntu-upgrade](/images/ubuntu-update.png)
|
|
|
|
... | ... | @@ -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 openfoam2306-default
|
|
|
sudo apt-get install openfoam2312-default
|
|
|
```
|
|
|
|
|
|
- <em>Cannot find MPI library</em><br/>
|
... | ... | |