//update wsl and install Ubuntu distribution
wsl --update
wsl --set-default-version 2
wsl --install -d Ubuntu

//enter into the linux environment:
wsl -d Ubuntu 

//update and upgrade the envrionment (important sometimes for libc nonsense)
sudo apt-get update
sudo apt-get upgrade

//Install miniconda
wget <https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh>
bash Miniconda3-latest-Linux-x86_64.sh
//follow instructions for install, putting in the Linux home directory is fine.

Configure x-server

//configure x-server
sudo apt install -y xclip gnome-themes-standard gtk2-engines-murrine dbus dbus-x11 x11-apps libgl1-mesa-glx
echo export DISPLAY=:0 >> ~/.bashrc

echo export LC_ALL=C >> ~/.bashrc
echo rm -rf /tmp/runtime-$USER >> ~/.profile
echo mkdir -m 700 /tmp/runtime-$USER >> ~/.profile
echo export XDG_RUNTIME_DIR=/tmp/runtime-$USER >> ~/.bashrc

source ~/.profile
source ~/.bashrc