... | ... | @@ -65,11 +65,11 @@ With that method there exists in principle the possibility to upgrade the Ubuntu |
|
|
These can be direct requirements for
|
|
|
|
|
|
* Open the Linux Subsystem. Set up a new user.
|
|
|
* Update the list existing packages and optional upgrade the set of already installed packages
|
|
|
* Update the list existing packages and optional (but recommended) upgrade the set of already installed packages
|
|
|
|
|
|
```
|
|
|
sudo apt update
|
|
|
sudo apt upgrade
|
|
|
sudo apt upgrade # optional
|
|
|
```
|
|
|
|
|
|
* Install the necessary additional packages:
|
... | ... | @@ -96,27 +96,25 @@ sudo apt install git wget vim |
|
|
# Download the code and make a compiler run
|
|
|
|
|
|
Although you might not yet now very familiar with the Ubuntu inside the WSL especially working with files. Lets create some files by installing DuMuX.
|
|
|
(These steps here are those from [getting started](). You find more details in that document.)
|
|
|
These steps here are those from [getting started](https://dumux.org/gettingstarted/). You may find more details and more up to date information in that document.
|
|
|
|
|
|
* Download the installation script:
|
|
|
```
|
|
|
|
|
|
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/raw/master/bin/installdumux.py
|
|
|
|
|
|
```
|
|
|
* Execute:
|
|
|
```
|
|
|
|
|
|
python3 ./installdumux.py
|
|
|
|
|
|
```
|
|
|
__Note__: On some systems, especially when you work directly on a windows drive, the `git clone` command executed by the installation script fails due to permission issues.
|
|
|
<details><summary>Click here for details</summary>
|
|
|
__Note__: On some systems, the `git clone` command executed by the installation script
|
|
|
fails due to permission issues. This [may be fixed](https://askubuntu.com/a/1118158) by executing
|
|
|
```
|
|
|
|
|
|
sudo umount /mnt/c sudo mount -t drvfs C: /mnt/c -o metadata
|
|
|
|
|
|
```
|
|
|
|
|
|
prior to running the installation script (with respective drive letter).
|
|
|
This issue exists especially if you have chosen to work from WSL inside your file-structures of windows-drives known with letters. If you do that consider the permanent setting inside WSL:
|
|
|
```
|
... | ... | @@ -125,6 +123,8 @@ Edit /etc/wsl.conf (create it if it doesn't exist). Add the following: |
|
|
[automount]
|
|
|
options = "metadata"
|
|
|
```
|
|
|
</details>
|
|
|
|
|
|
|
|
|
# Compile and run a test:
|
|
|
```
|
... | ... | |