banner



What's new with the Windows Subsystem for Linux on Windows 11

Windows 11 WSL improvements Source: Windows Key

The Windows Subsystem for Linux (WSL) for Windows 11 has been updated with various new features and improvements, including support for Linux GUI apps, changes to make information technology easier to install and update the platform, File Explorer integration, storage enhancements, and more.

On Windows, WSL is the platform that allows you lot to run Linux distributions (such as Ubuntu and Debian) using a lightweight virtual car, alongside Windows, without the need for setting upwards a full-blown virtual machine or configure a dual-kick system.

In this Windows 11 guide, we will show you the well-nigh significant changes shipping with the updated version of the Windows Subsystem for Linux.

The new changes for the Windows Subsystem for Linux

While this is nevertheless considered WSL version ii, there are many improvements to the experience, including a new faster installation process, back up for Linux graphical applications, File Explorer integration, and more.

Simplified installation

On Windows 11, the installation procedure of WSL has been noticeably simplified. In the by, y'all starting time needed to enable WSL i through the "Windows Features" interface, enable the virtualization platform, and download an update for the kernel to switch to WSL 2. Starting with this new version, Microsoft is implementing two new commands, including the wsl --install andwsl --update to install and update the system more rapidly.

In other words, if the Windows Subsystem for Linux is not ready upward on your figurer, you can now run the wsl --install command to install all the components required to start using Linux on Windows xi. The command will configure the virtual machine platform, install the WSL components, download the Windows Subsystem for Linux kernel, set up up the Linux GUI app back up, and install the Ubuntu by default. After running the command, the only actress step is to restart the figurer to apply the configuration.

Windows 11 WSL install Source: Windows Central

It'south worth noting that the custom Linux kernel available within the Windows eleven arrangement epitome has been removed, and information technology's now downloaded from the Microsoft Store.

If you apply the wsl --install command with the --distribution selection, you can also specify the distro you desire to download in the case you don't wish to utilize Ubuntu every bit the default distro.

You can always use the wsl --list --online control to view all the available distributions that you can get on Windows eleven.

Furthermore, there's a new wsl --update command to check and install whatever updates available for the platform.

While these commands are new to Windows eleven, they are also available for Windows 10.

Linux GUI apps

Maybe i of the most significant improvements in this update is the support for Linux GUI apps. And so, this basically ways yous tin can at present install graphical applications and run them alongside Windows 11 apps.

Windows 11 WSL Linux GUI apps Source: Windows Central

Microsoft is introducing this characteristic for developers to test their apps, but you can use information technology to run your favorite editors, tools, and programs. The support also ships with GPU accelerated 3D graphics and microphones and speakers, which means that if you install a media application, these components will be bachelor for apps.

Once you ready up the Windows Subsystem for Linux with the install command, it also sets up an X server that runs automatically, which includes Wayland, pulse audio, and other components to make everything work. Then, after endmost the awarding and the WSL session, the organisation distro will shut down automatically.

In add-on, during the installation of the app, the system volition add together an entry in the Start menu to launch the program without the demand for typing the control in the console. Furthermore, when running an app, you will notice the icon also includes a Linux log, indicating this is not a native Windows application.

When running an application, you will observe the organization renders the visuals as if it was installed on Linux. For example, the app frame, menus, buttons, and other events are the aforementioned equally the graphical interface of Linux. However, Windows is not rendering these visuals. Instead, you are seeing a remote desktop connection to the distro running the application.

Attach and mount drives to distros

In this updated version of the Windows Subsystem for Linux, it's as well possible to attach and mount a bulldoze to access Linux file systems not supported on Windows 11.

The process to mount a drive is straightforward. You would open up PowerShell and run the wmic diskdrive listing brief to make up one's mind the disk you lot want to mount, and and then (for example) the wsl --mount \\.\physicaldrivepath --segmentation ane control will mountain the starting time partition using the ext4 file system of the concrete bulldoze.

If you need to mountain a different file system, you will employ (for example) the wsl --mount \\.\physicaldrivepath -t vfat command to mount the file organisation as "fat."

Once the bulldoze is mounted, you tin ever access the file from File Explorer using the \\wsl.localhost\distroname\mountpoint command. (Of class, you always need to update the commands with the data corresponding to your situation.)

File Explorer with Linux integration

Likewise, the Windows Subsystem for Linux is at present better integrated into the File Explorer app. For example, the default file manager on Windows 11 now includes a "Linux" entry in the navigation pane, which allows you to access all the distros files quickly.

File Explorer Linux integration Source: Windows Central

In addition, the default path has been changed from \\wsl\ to \\wsl.localhost\ to improve operation and reliability, but you lot tin still utilize the original path to access the files.

Execute commands on startup

The platform also includes a new option to run Linux commands during the startup of a distro. However, to use this new functionality, you need to change the /etc/wsl.config configuration file past adding the "control" choice under the "boot" section.

GPU compute

The WSL solution at present also comes with GPU compute, a new feature that enables the Linux binaries to leverage the GPU to perform more intensive automobile learning (ML) development and data science workflows.

More Windows resources

For more helpful manufactures, coverage, and answers to common questions near Windows 10 and Windows 11, visit the following resources:

  • Windows ten on Windows Primal — All you need to know
  • Windows 10 help, tips, and tricks
  • Windows 11 on Windows Key — All you need to know

Source: https://www.windowscentral.com/whats-new-windows-subsystem-linux-windows-11

Posted by: stanbackarniagaten72.blogspot.com

0 Response to "What's new with the Windows Subsystem for Linux on Windows 11"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel