"How can I use Linux if I have a Windows Machine ?
In the past, I used VMware or VirtualBox with a Linux distribution, dual-booted, or used another machine with Linux for my experiments with Linux. However, Canonical and Microsoft worked together to create WSL (and WSL2), which simplifies bringing Linux to Windows users. It removes complexity, makes collaboration between operating systems easier, and allows for easy integration between Linux and Windows hosts, taking advantage of the machine's resources."
In the past, I used VMware or VirtualBox with a Linux distribution, dual-booted, or used another machine with Linux for my experiments with Linux. However, Canonical and Microsoft worked together to create WSL (and WSL2), which simplifies bringing Linux to Windows users. It removes complexity, makes collaboration between operating systems easier, and allows for easy integration between Linux and Windows hosts, taking advantage of the machine's resources."
" By default, it installs the Ubuntu Linux distro."
" Checkout the full tutorial https://code.visualstudio.com/docs/remote/wsl-tutorial"
From FB (Sept 2024):
- Has anyone used Windows Support for Linux (WSL) in Windows? I just installed WSL and Debian on my laptop last evening and Debian seems to be running hunky dory. For those of us students in Com. Sci. (I'm 76 yr old) it's turning out to be cool to be able to jump back and forth between OS's. And, yes, it is fast. And, yes, GUI applications run.
- We use it at work on the development machines. It's a brilliant tool.
- The main limitation is that accessing files from one OS with the other is slow. It creates a noticeable bottleneck if you try to run a web application in Linux using files and assets stored in Windows. Copying files back and forth isn't too bad though.
- Networking is fine. We can access a local DB server with no issues.
- I've used it, to setup Linux Home Assistant and for various similar things - testing, training, doing useful stuff on a Windows system. WSL has come a long way and it is moderately decent. I've mainly gone back to using Virtual Box and Hyper-V, with just a full Linux install (or Windows install) in a virtual environment versus WSL, though I do still use WSL from time to time. I just have an abundance of memory, workstations and servers, so I get to play in lots of "sandboxes."
- Use it occasionally, works fine. I have older computers that don't do VMs well or at all, for people who have similar machines, WSL is a good way to "get your feet wet" if you are a Windows user.
- You can also partition your disk and dual boot, which I do until I can get all my Windows apps running on LMDE...
- Good to see someone who likes it. I created a course about it for A Cloud Guru before Pluralsight bought them:
- You can't access Linux partitions on the main hard drive. Or has this changed? - you can, they appear in Explorer under a little Penguin.
- I run it, its good for testing, and paired with windows terminal, it turns windows into the perfect client for a real computer.
From an earlier post (2023):
How to run any Linux distro alongside Windows 11
https://www.windowscentral.com/software-apps/windows-11/how-to-run-any-linux-distro-alongside-windows-11
Run Linux GUI apps on the Windows Subsystem for Linux -
https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
https://learn.microsoft.com/en-us/windows/wsl/install
How to Run Linux Apps on Windows 10 and 11 Using WSL -
https://www.freecodecamp.org/news/how-to-run-linux-apps-on-windows-10-11-using-wsl/
How to Install the Windows Subsystem for Linux on Windows 11 -
https://www.howtogeek.com/744328/how-to-install-the-windows-subsystem-for-linux-on-windows-11/
How to install a Linux operating system such as Ubuntu in Windows 11 -
https://www.techradar.com/how-to/how-to-install-ubuntu-in-windows-11
Run Linux On Windows 11: Install Linux Bash Shell on Windows 11 -
https://itsubuntu.com/run-linux-on-windows-11/
"You
can now install Windows Subsystem for Linux (WSL) by entering this
command in PowerShell. You should run PowerShell with administrative
privilege and run the following command to install WSL. This command
will download the latest Linux kernel, set WSL 2 as your default, and
install a Ubuntu Linux distribution by default.
wsl --install"
wsl --install"
How to install Ubuntu on Windows 10 or Windows 11 -
https://www.onmsft.com/how-to/install-ubuntu-on-windows-10-or-windows-11/
No comments:
Post a Comment