Install Windows Subsystem for Linux (WSL)
1. Start windows power shell
2. Check the list of available Linux distributions available for download
3. Install the latest Ubuntu distribution available
wsl --install -d Ubuntu-22.04
You will be prompted to create a UNIX username and password.
This UNIX username and password have no relationship to your Windows username and password,
so to avoid any confusion use a different username
4. Start up WSL
In general, to start using WSL, open up a PowerShell terminal and type wsl.
If you’ve set up WSL correctly, you’ll enter a bash terminal running on
the WSL distro of choice. From here, you can run any Linux commands you wish.
Your unix user directory is located at:
/home/<your unix username>
Your Windows user directory is located at:
/mnt/c/Users/<your windows username>
5. To access files in WSL from Windows use
\\wsl$\Ubuntu-22.04\home\ <your unix name>
Reference: https://learn.microsoft.com/en-us/windows/wsl/
|