... | ... | @@ -13,34 +13,13 @@ apt update |
|
|
apt full-upgrade
|
|
|
```
|
|
|
|
|
|
Then there is a need to access a graphical server for you subsystem. On the most recent ones,
|
|
|
these instructions can be followed : https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps .
|
|
|
For the older one, you must try to install either:
|
|
|
* [VcXsrv](https://sourceforge.net/projects/vcxsrv/) (for free)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
export LIBGL_ALWAYS_INDIRECT=0
|
|
|
```
|
|
|
* [Xming](http://www.straightrunning.com/XmingNotes/) (for free)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
```
|
|
|
* [X410](https://token2shell.com/x410/) (not free but more efficient)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
```
|
|
|
|
|
|
|
|
|
Then in an ubuntu 22.04 terminal run the following commands (or follow the Linux prerequisites) :
|
|
|
|
|
|
```shell
|
|
|
sudo apt install cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy
|
|
|
sudo apt install cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy python-is-python3
|
|
|
sudo apt install python3-scipy python3-matplotlib python3-pandas
|
|
|
sudo apt install libhdf5-dev hdf5-tools python3-h5py
|
|
|
sudo apt install python3-vtk7 paraview python3-pip
|
|
|
sudo apt install python3-vtk9 paraview python3-pip
|
|
|
sudo apt install wslu python3-notebook
|
|
|
```
|
|
|
Then have a look to the *Linux* instruction for additional tools [here](./linux_dependencies_install) or continue installation [here](./download_and_install)
|
... | ... | |