Monday, April 19, 2021

Windows Subsystem for Linux (WSL)

 WSL-2

                                       Getting Started with WSL 2 Part 2 - DEV Community                

Umm yes there is Linux in windows!


What is WSL?

The windows subsystem for Linux people run Linux environment, command Line tools - vim, emax etc , application directly in Windows without using a virtual machine or dual boot setup.

Distorts available:

  • Ubuntu
  • Debian
  • Kali Linux
  • Open SUSE
  • Cent OS
The latest version is WSL 2 and this runs with full Linux kernel.

How to get it in your computer/ Laptop??

Follow these instructions and you will have WSL 2 in your machine is some time.


1. Check your windows version

Search for “winver” and hit enter, then a window will open showing the details of the windows you are running. Now check of the version of windows you are running is above or is 1903. If yes then please continue, if no then I am sorry to say that you can’t have WSL 2 in your machine.



2. Enable windows subsystem for Linux

Now search for power shell and run it as administrator.

Then paste this in the window:

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

Then hit enter , after it is done close all windows and restart your computer and follow the next steps.


3. Enable the virtual machine feature

Now we need to enable the virtual machine feature in your machine.

Open the power shell l as administrator as before and paste this in the window.

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

Then hit enter and once done restart your machine again.


4. Download the Linux kernel update package 

Now click on this link , it will download the update package, as we installed WSL we need to update to WSL 2.


Once downloaded run the program, don’t worry this program is made by Microsoft not me.

5. Seting WSL 2 as default

Now as before open power shell and run it as administrator, and copy and paste it his command in the window

wsl --set-default-version 2

Then hit enter , so when you download any distro (which you will in the next step)
It will automatically run in WSL 2.

6. Downloading your choice of Ditrobution

Now open up your windows store and search for Linux, WSL, distro, Linux distro, what ever and download one and launch it. Once opened it will ask for and username and password for creating a account, the username and password does not have to be the same as your windows.

Here are some distro you can get in the store:


Well hope you have fun with it .

Sources:







Monday, April 12, 2021

Basically WELCOME

 Well ,Welcome to this Blog

 

Here what happens is well I will post contents related to one of these:

  • My thought's on something
  • Linux related stuff
  • Some Rants
  • Tech
    • Increase you privacy
    • Become a better power user
    • Just fun to know 
    • Good for your security    
 So that i guess is a lot but anyways, if you like what i will be posting PLEASE FOLLOW.