WSL2 Install on Windows 11
WSL/WSL2 is known as Windows Subsystem for Linux architecture that can power the Windows PC to run Linux binaries and Environment on Windows. In this article, we will show you how to install Ubuntu on your Windows host or setup WSL on windows.
Enable Windows Features:
To use Windows Subsystem Linux, we have to enable some windows features and windows virtualization platform on. To enable this features you have go to Control Panel. You can simply search control panel on windows settings.
Now go to Programs > Turn windows Features like the picture below. It will enable Subsystem and Virtualization on to install Linux Distros.
It will needs to restart your PC. After restarting pc we can look forward for our next step.
Install Linux Distros:
Time to hookup with your favorite Linux Distros. In this article , we are using Ubuntu 22.4 for easy approach. Ubuntu is the most popular distro and I also like it. Go to Microsoft Store and search Ubuntu 22.4 and Download it.
Setup Ubuntu
After downloading Ubuntu 22.4 , open it. It will take some time to unpack and setting up their configuration. Then setup user info username , device name and password. It will take sometime to setup ubuntu as subsystem for windows. You can change mount option but it's not necessary. Leave it as it was and press setup button .
Starting with Ubuntu
Now our setup for Windows subsystem Ubuntu is complete. From the start menu Open Ubuntu 22.4. It will open up in a terminal window. Run this command to update apt list.
sudo apt-get update
It will update your system apt repository to latest. Now let's install some Gnome app to run on Linux. Run this command to install Nautilus and Gnome Desktop related library.
sudo apt-install nautilus
This will install Ubuntu Nautilus File manager. You can configure Files and Folders in here. It will automatically added into your start menu programs. On the other hand , you can open ubuntu file manager using terminal. For that, open terminal again and type 'nautilus'.
Install Synaptic Package Manager on Ubuntu
WSL has no App store built in. To install apps, we are using synaptic. Run this command to install synaptic on WSL. Remember synaptic should be always run with sudo command.
sudo apt-get install synaptic
Install Gnome Tweaks
WSL has adawati theme by default and It looks nasty. To give a beautiful looking UI and tweak your WSL Ubuntu, you can install gnome tweaks.
sudo install gnome-tweaks
Custom theming and other customization has described on our another article. You can read this article of How to Change theme On WSL. You can watch our full article Videos on YouTube.
Conclusion
Hope everything is working perfectly. If you face any problem , comment below and don't forget to watch our videos on YouTube. Thank You.