FavoriteLoadingAdd to favorites

Step 1:
Open the below link and READ IT!

https://learn.microsoft.com/en-za/windows/wsl/install

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
1: Open PowerShell and Start the install process
wsl --install
2: Result shows you available distros:
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
SLES-12 SUSE Linux Enterprise Server v12
SLES-15 SUSE Linux Enterprise Server v15
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
OracleLinux_8_5 Oracle Linux 8.5
OracleLinux_7_9 Oracle Linux 7.9
3: Install your selected distro. In my case I am choosing Ubuntu.
wsl --install Ubuntu
4: Wait for the install to finish.
Enter username and password in the ubuntu termainal and proceed.
5: Switch back to PowerShell and Check that your wsl version.
wsl -l -v
6: Run the below command.
sudo apt update && sudo apt upgrade
7: Set default wsl version to version 2
wsl --set-default-version 2
8: If you manually installed WSL prior to the wsl --install command being available, you may also need to enable the virtual machine optional component used by WSL 2 and install the kernel package if you haven't already done so.
--
https://learn.microsoft.com/en-za/windows/wsl/install-manual#step-3---enable-virtual-machine-feature
1: Open PowerShell and Start the install process wsl --install 2: Result shows you available distros: Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling SLES-12 SUSE Linux Enterprise Server v12 SLES-15 SUSE Linux Enterprise Server v15 Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS OracleLinux_8_5 Oracle Linux 8.5 OracleLinux_7_9 Oracle Linux 7.9 3: Install your selected distro. In my case I am choosing Ubuntu. wsl --install Ubuntu 4: Wait for the install to finish. Enter username and password in the ubuntu termainal and proceed. 5: Switch back to PowerShell and Check that your wsl version. wsl -l -v 6: Run the below command. sudo apt update && sudo apt upgrade 7: Set default wsl version to version 2 wsl --set-default-version 2 8: If you manually installed WSL prior to the wsl --install command being available, you may also need to enable the virtual machine optional component used by WSL 2 and install the kernel package if you haven't already done so. -- https://learn.microsoft.com/en-za/windows/wsl/install-manual#step-3---enable-virtual-machine-feature
1: Open PowerShell and Start the install process
wsl --install

2: Result shows you available distros: 
Ubuntu             Ubuntu
Debian             Debian GNU/Linux
kali-linux         Kali Linux Rolling
SLES-12            SUSE Linux Enterprise Server v12
SLES-15            SUSE Linux Enterprise Server v15
Ubuntu-18.04       Ubuntu 18.04 LTS
Ubuntu-20.04       Ubuntu 20.04 LTS
OracleLinux_8_5    Oracle Linux 8.5
OracleLinux_7_9    Oracle Linux 7.9

3: Install your selected distro. In my case I am choosing Ubuntu.
wsl --install Ubuntu

4: Wait for the install to finish.
Enter username and password in the ubuntu termainal and proceed.

5: Switch back to PowerShell and Check that your wsl version. 
wsl -l -v

6: Run the below command.
sudo apt update && sudo apt upgrade

7: Set default wsl version to version 2
wsl --set-default-version 2

8: If you manually installed WSL prior to the wsl --install command being available, you may also need to enable the virtual machine optional component used by WSL 2 and install the kernel package if you haven't already done so.
--
https://learn.microsoft.com/en-za/windows/wsl/install-manual#step-3---enable-virtual-machine-feature

Pin It on Pinterest

Garth Baker
Favorite
Loading
en
af
sq
am
ar
hy
az
eu
be
bn
bs
bg
ca
ceb
ny
zh-CN
zh-TW
co
hr
cs
da
nl
en
eo
et
tl
fi
fr
fy
gl
ka
de
el
gu
ht
ha
haw
iw
hi
hmn
hu
is
ig
id
ga
it
ja
jw
kn
kk
km
ko
ku
ky
lo
la
lv
lt
lb
mk
mg
ms
ml
mt
mi
mr
mn
my
ne
no
ps
fa
pl
pt
pa
ro
ru
sm
gd
sr
st
sn
sd
si
sk
sl
so
es
su
sw
sv
tg
ta
te
th
tr
uk
ur
uz
vi
cy
xh
yi
yo
zu
Share This