Download linux terminal for windows 106/19/2023 After booting, download your preferred distro from the WSL Store.Press Y to accept the prompt to restart your PC.Press Win + R, type powershell, and press CTRL + Shift + Enter.ĭism /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all.Here’s how you can install a Linux terminal with WSL 1: But if you just need steps to upgrade to or install WSL 2, you can skip ahead to the next section. With all that said, we’ll first talk about installing WSL 1. Aside from some very niche scenarios, you should always opt for WSL 2, provided it’s supported on your Windows build. WSL 2 is only supported on Windows 11 or Windows 10 version 1903 or later. This essentially means that WSL 2 offers way better performance, compatibility, and support for GUI applications. And while WSL 1 stored the Linux files on the Windows drive, WSL 2 uses a virtual hard disk formatted with ext4. The WSL 2 VM uses a full Linux kernel that’s optimized for best performance and auto-serviced via Windows Updates. The hardware components are virtualized as well, but because this VM runs behind the scenes, the user experience is no more complicated than before. WSL 2 utilizes a specific optimized set of Hyper-V features to run the Linux kernel inside a lightweight VM. ![]() It made considerable changes to the architecture to increase file system performance and support full system call compatibility. WSL 2 was released with the version 2004 update in 2020. For instance, the virtual network adapter would be bridged to the host NIC, meaning the Linux distribution would have an IP address in the same network as the host machine. WSL 1 didn’t utilize virtualization and instead made direct use of some of the hardware and the host file system, which had some implications. WSL 1 used the LXSS Manager Service (particularly the lxss.sys and lxcore.sys drivers) for interactions between Windows and the subsystem. Microsoft first introduced WSL in 2016 with the Windows 10 version 1607 Anniversary Update.
0 Comments
Leave a Reply. |