... | ... | @@ -3,7 +3,7 @@ |
|
|
[![home](/icons/home.svg "wiki home")](/home)
|
|
|
[![packages](/icons/package.svg "packages")](/precompiled)
|
|
|
|
|
|
_Precompiled packages (Ubuntu)_ <br>
|
|
|
_Precompiled packages (Debian, Ubuntu)_ <br>
|
|
|
***Quick-start***: <br>
|
|
|
```
|
|
|
# Add the repository
|
... | ... | @@ -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 openfoam2212-default
|
|
|
sudo apt-get install openfoam2306-default
|
|
|
|
|
|
# Use the openfoam shell session. Eg,
|
|
|
openfoam2212
|
|
|
openfoam2306
|
|
|
```
|
|
|
|
|
|
![!!](/icons/alert-triangle.svg) The packages do ***not*** contain
|
... | ... | @@ -29,7 +29,7 @@ see the [corresponding **FAQ**](/precompiled#frequently-asked-questions) |
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
|
## ![>](/icons/ubuntu.svg) Ubuntu
|
|
|
## ![>](/icons/debian.svg)![>](/icons/ubuntu.svg) Debian / Ubuntu
|
|
|
|
|
|
For Debian and Ubuntu, OpenCFD works actively with the
|
|
|
[Debian (science)](https://salsa.debian.org/science-team/)
|
... | ... | @@ -39,10 +39,10 @@ For Linux newcomers: _Ubuntu_ is a _Debian_-derivative and thus its |
|
|
repositories invariably contain references to _deb_ or _debian_.
|
|
|
|
|
|
|
|
|
### ![>](/icons/database.svg) OpenFOAM Ubuntu repository
|
|
|
### ![>](/icons/database.svg) OpenFOAM repository
|
|
|
<a name="debian-openfoam"></a>
|
|
|
|
|
|
To use the [OpenFOAM early-release Ubuntu repository](https://dl.openfoam.com/repos/deb),
|
|
|
To use the [OpenFOAM early-release debian/ubuntu repository](https://dl.openfoam.com/repos/deb),
|
|
|
you will need to add the signing key and the repository location(s) to your system.
|
|
|
This typically only needs to be done once per distribution.
|
|
|
The most convenient way is to use the
|
... | ... | @@ -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 openfoam2212-default
|
|
|
sudo apt-get install openfoam2306-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 openfoam2212-default
|
|
|
sudo apt-get autoremove openfoam2306-default
|
|
|
```
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | @@ -93,9 +93,9 @@ descriptions, the following represent typical installation commands: |
|
|
|
|
|
|User Group | Command |
|
|
|
|---------------|------------------|
|
|
|
| minimalist | `sudo apt-get install openfoam2212` |
|
|
|
| traditional | `sudo apt-get install openfoam2212-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2212-default` |
|
|
|
| minimalist | `sudo apt-get install openfoam2306` |
|
|
|
| traditional | `sudo apt-get install openfoam2306-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2306-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 `openfoam2212`):
|
|
|
(for example for `openfoam2306`):
|
|
|
|
|
|
![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 openfoam2212-default
|
|
|
sudo apt-get install openfoam2306-default
|
|
|
```
|
|
|
|
|
|
- <em>Cannot find MPI library</em><br/>
|
... | ... | |