RUN GRAPHICAL LINUX APPLICATIONS IN WINDOWS
PC Pro|August 2023
Why limit yourself to one software library? Nik Rawlinson finds out how to run Linux software natively on Windows
RUN GRAPHICAL LINUX APPLICATIONS IN WINDOWS

Windows is by far the most popular operating system in the world - but for developers and power users, it's often helpful to be able to switch into a Linux environment. In the past, this meant dual-booting, or installing your chosen distribution in a virtual machine. But since 2016 there's been a better way: the Windows Subsystem for Linux (WSL) is an optional OS component that provides a fully working, officially supported Linux environment right inside Windows.

The major limitation of WSL, when it was first introduced, was that it was a text-only interface. You could run scripts and command-line programs, but graphical applications were off the menu.

That's no longer the case. All desktop editions of Windows 10 and 11 now support WSLg - an updated version of WSL, where the "g" stands for GUI. It enables you to run graphical Linux applications directly on the Windows desktop, with minimal configuration. It's a huge boon for anyone who works across multiple platforms, or who just wants to try out applications and tools that aren't available for Windows.

WSLg isn't installed by default, but it's not hard to set up. Here's our guide to installing it and running your first Linux app on Windows. We're using Windows 11, but the same instructions will work for Windows 10; in either case, just make sure you're using the latest version of the OS, so that all the relevant modules are installed.

Installing WSL and setting up your Linux account

You can install WSL from the Microsoft Store (pcpro.link/346wsl), but most of the setup process is carried out at the command line, so we may as well start there. We'll use a PowerShell session with administrator privileges - an easy way to open one is right-click the Start menu and select "Windows Terminal (Admin)", then click Yes to allow changes to your system.

Denne historien er fra August 2023-utgaven av PC Pro.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

Denne historien er fra August 2023-utgaven av PC Pro.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

FLERE HISTORIER FRA PC PROSe alt
Lenovo ThinkPad E16 Gen 1 (AMD)
PC Pro

Lenovo ThinkPad E16 Gen 1 (AMD)

By no means the last word in excitement, but the ThinkPad E16 is a good-value choice for business users

time-read
3 mins  |
August 2024
Huawei MateBook D16
PC Pro

Huawei MateBook D16

The best and biggest screen here, plus a powerful Core i9 processor, ensure the MateBook D16 stands out

time-read
3 mins  |
August 2024
Acer Aspire Go 14
PC Pro

Acer Aspire Go 14

It's tough to argue with this laptop's value for money or battery life, but speed lovers should look elsewhere

time-read
3 mins  |
August 2024
HP Spectre x360 16 (2024)
PC Pro

HP Spectre x360 16 (2024)

This sleek 2kg convertible packs everything you need, including a Core Ultra chip and optional Nvidia graphics

time-read
3 mins  |
August 2024
Five ways to get cloud computing wrong
PC Pro

Five ways to get cloud computing wrong

Don't let your migration projects go up in smoke. Steve Cassidy runs through the blunders to avoid

time-read
9 mins  |
August 2024
Control your computer with your face and head -it's the future!
PC Pro

Control your computer with your face and head -it's the future!

As if to show nothing is new in the world of technology, eye tracking and gesture control date back decades. But if Apple's on board, maybe their time has finally come, suggests Nicole Kobie

time-read
7 mins  |
August 2024
Chip off the old block
PC Pro

Chip off the old block

Standalone sales of the Z80 CPU have finally been discontinued after 48 years. David Crookes looks back on a chip with a staggering impact

time-read
9 mins  |
August 2024
Cloud backup 2024
PC Pro

Cloud backup 2024

Whether it's through attack or error, your business data is always at risk. Dave Mitchell explains how cloud services can add extra protection and puts four contenders to the test

time-read
4 mins  |
August 2024
Elegoo Saturn 4 Ultra
PC Pro

Elegoo Saturn 4 Ultra

A brilliant advert for resinbased 3D printing, with a host of features that make it easy to obtain great results

time-read
3 mins  |
August 2024
HP All-in-One 27 cr-0014na PC
PC Pro

HP All-in-One 27 cr-0014na PC

A speedy and temptingly priced all-in-one PC with a fine 27in display-but note its 1080p resolution

time-read
4 mins  |
August 2024