Ubuntu installation with WSL
Basic ubuntu installation procedures
System requirements
- OS: Windows 10 and above
- At least 25 GB free hard drive space
Install Windows Subsystem for Linux (info retrieved from https://itsfoss.com)
- Search “windows subsystem for linux” from the Microsoft Store, then install (alternative: wsl –install in command prompt)
- Reboot to apply changes
Install Ubuntu (retrieved from https://itsfoss.com)
- Search “Ubuntu” from the Microsoft Store, then install
- Reboot to apply changes
In case these steps don’t work:
- Open Windows powershell (open as administrator)
- Enter this:
1
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Restart
- Powershell (open as administrator):
1
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Restart
- Powershell:
1
wsl --set-default-version 2
- Restart
Configure the newly installed Ubuntu
- Provide a unix username and password
- Log-in, then update the installed Ubuntu by entering the following commands one by one: sudo apt update sudo apt full-upgrade
- Once update is finished, you are good to go.
This post is licensed under CC BY 4.0 by the author.
Comments powered by Disqus.