skip to content

IT-Schnipsel

WSL1 - Install & First Steps

Wie installieren? Erste Schritte...

[Powershell mit Administratorrechten öffnen]

cd C:\Users\Admin\

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

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

[check:]

Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

[download debian:]

Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile ~/Downloads/debian.zip -UseBasicParsing

Expand-Archive ~/Downloads/debian.zip ~/debian

[reboot]

[install debian]

~/debian/debian.exe

[Benutzername: admin / Passwort vergeben]

[set root pw]

sudo passwd

exit

[wenn gewünscht, in einer Powershell] ~/debian/./debian.exe config --default-user root

[start debian] wsl

apt-get update

apt-get install aptitude

[Buster sources.list editieren, siehe unten)

aptitude update && aptitude upgrade

aptitude full-upgrade

 


Up