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.

This story is from the August 2023 edition of PC Pro.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the August 2023 edition of PC Pro.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM PC PROView All
Microsoft makes funeral plans for Windows 10
PC Pro

Microsoft makes funeral plans for Windows 10

Extended support tariff and nag screens are ready for the October deadline

time-read
3 mins  |
January 2025
Are delivery drones finally ready for take-off?
PC Pro

Are delivery drones finally ready for take-off?

More than a decade in the making, Amazon is again set to run a trial of its delivery drone in the UK. But there are better uses for delivery drones, explains Nicole Kobie

time-read
8 mins  |
January 2025
Sony PlayStation: the game changer
PC Pro

Sony PlayStation: the game changer

David Crookes looks at how the first PlayStation turned the gaming world on its head, impacting rival console manufacturers, videogame developers and the perception of games themselves

time-read
9 mins  |
January 2025
Apple M4 series
PC Pro

Apple M4 series

Don't expect revolution, but this is a notable all-round upgrade in performance for all members of the series

time-read
2 mins  |
January 2025
What is NUI?
PC Pro

What is NUI?

Forget cryptic buttons and fiddly menus-Steve Cassidy explores a more intuitive approach to user interactions

time-read
3 mins  |
January 2025
Samsung Galaxy Chromebook Plus (2024)
PC Pro

Samsung Galaxy Chromebook Plus (2024)

Sleek, stylish and packing a superb OLED panel, this is the best high-end Chromebook since the Pixelbook

time-read
3 mins  |
January 2025
How can I make my IT truly sustainable?
PC Pro

How can I make my IT truly sustainable?

It's not just about setting computers to sleep overnight; Nik Rawlinson finds out how to minimise your overall environmental impact

time-read
9 mins  |
January 2025
Apple Mac mini M4
PC Pro

Apple Mac mini M4

Half the size of its predecessor yet packing far more power, this is the biggest Mac upgrade of the year

time-read
5 mins  |
January 2025
UPGRADE TO BUSINESSCLASS WI-FI
PC Pro

UPGRADE TO BUSINESSCLASS WI-FI

A HOME OFFICE DESERVES A PROFESSIONAL NETWORK. DARIEN GRAHAM-SMITH MAKES THE SWITCH

time-read
10 mins  |
January 2025
GIFTS FOR GEEKS 2024
PC Pro

GIFTS FOR GEEKS 2024

IN OUR ANNUAL-ROUNDUP OF GIFT IDEAS FOR PEOPLE IMPOSSIBLE TO BUY FOR, WE COVER EVERYTHING FROM CHESS SETS TO PORTABLE BLUETOOTH TURNTABLES

time-read
5 mins  |
January 2025