Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.94 KB

install-on-Windows-WSL.md

File metadata and controls

61 lines (50 loc) · 1.94 KB

Installation on Windows Subsystem for Linux

The installation takes three step. See details below.

  1. Install and activate WSL 2
  2. In the Microsoft Store, install Ubuntu 20.04 LTS
  3. Launch Ubuntu from the menu and type in
bash -x <(curl -sL https://cryptotux.org/install)

1. Install Windows Subsystem for Linux

Open Powershell in admin mode

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Graphically you can use "Windows Features" activate WSL

WSL2 is highly recommanded. You can enable it if your are running Windows 10 build 19041 or higher (check with systeminfo in Powershell).

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Then make it default an reboot

wsl --set-default-version 2

Microsoft documentation

2. Download Ubuntu

On Microsoft store, install Ubuntu 20.04 LTS

3. Installation

It is advisable to extend sudo authorisation as the installation might take long. Type sudo visudo and add the following line to extend sudo timeout to 30 minutes

Defaults:USER timestamp_timeout=30

or add the following line to remove the need for a password

%sudo   ALL=(ALL:ALL) NOPASSWD:ALL

Finally, install

bash -x <(curl -sL https://cryptotux.org/install)

You might also need to press enter occasionally.

Troubleshooting

Temporary fix for WSL1 and Ubuntu 20.04

Source : microsoft/WSL#5125

sudo apt install software-properties-common
sudo add-apt-repository ppa:rafaeldtinoco/lp1871129
sudo apt update
sudo apt install libc6=2.31-0ubuntu8+lp1871129~1 libc6-dev=2.31-0ubuntu8+lp1871129~1 libc-dev-bin=2.31-0ubuntu8+lp1871129~1 -y --allow-downgrades
sudo apt-mark hold libc6