... | ... | @@ -49,13 +49,21 @@ With that method there exists in principle the possibility to upgrade the ubuntu |
|
|
|
|
|
* Open the store and search for "Ubuntu". Install then the Ubuntu-22.04 variant.
|
|
|
|
|
|
## Configure the system
|
|
|
## Install necessary Linux packages
|
|
|
|
|
|
These can be direct requirements for
|
|
|
|
|
|
* Open the Linux Subsystem. Set up a new user.
|
|
|
* Update the existing packages:
|
|
|
* Update the list existing packages:
|
|
|
|
|
|
```
|
|
|
sudo apt-get update
|
|
|
sudo apt update
|
|
|
```
|
|
|
|
|
|
* Optional upgrade the set of already installed packages (recommended)
|
|
|
|
|
|
```
|
|
|
apt upgrade
|
|
|
```
|
|
|
|
|
|
* Install the necessary additional packages:
|
... | ... | @@ -64,7 +72,7 @@ sudo apt-get update |
|
|
sudo apt install build-essential gfortran cmake pkg-config python3
|
|
|
```
|
|
|
|
|
|
This is the minimal set of packages you will need. You can find a more complete set in the wiki-page [Package-Names](https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/wikis/Package-Names) from column for Ubuntu.
|
|
|
This is the minimal set of packages that dumux requirers. You can find a more complete set in the wiki-page [Package-Names](https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/wikis/Package-Names) from column for Ubuntu.
|
|
|
|
|
|
Likely you do a git-clone of the repository, therefore install also git:
|
|
|
|
... | ... | @@ -72,12 +80,22 @@ Likely you do a git-clone of the repository, therefore install also git: |
|
|
sudo apt install git
|
|
|
```
|
|
|
|
|
|
And for downloading from scripts you might need wget:
|
|
|
And for downloading from scripts like installdumux.py you might need wget:
|
|
|
|
|
|
```
|
|
|
sudo apt install wget
|
|
|
```
|
|
|
|
|
|
It is not too bad to have a command-line text editor inside the WSL:
|
|
|
|
|
|
```
|
|
|
sudo apt install vim
|
|
|
```
|
|
|
|
|
|
You might consider a more complete package set for DuMux
|
|
|
|
|
|
You can now provided that you have already enou
|
|
|
|
|
|
## further additions to your working environment (Windows and WSL)
|
|
|
|
|
|
### Editor
|
... | ... | @@ -101,9 +119,8 @@ Another choice would be to install an editor inside Windows which runs there nat |
|
|
|
|
|
Or you can also use [Notepad++](https://en.wikipedia.org/wiki/Notepad%2B%2B) from the Windows store or from [this site](https://notepad-plus-plus.org/) or something else.
|
|
|
|
|
|
```
|
|
|
|
|
|
### Integrated Development Environment (IDE)
|
|
|
## Integrated Development Environment (IDE)
|
|
|
|
|
|
An IDE is s solution for code-browsing, editing, compiling, debugging code and at times also for version control. You do not have to use all functions, you can use it just as an editor.
|
|
|
|
... | ... | |