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
Key things to look for when buying a mini PC
PC Pro

Key things to look for when buying a mini PC

Buying a mini PC isn't like buying a laptop or a fully fledged desktop PC, but a pitfall-laden experience that sits somewhere in between

time-read
4 mins  |
December 2024
BRANDS YOU CAN TRUST
PC Pro

BRANDS YOU CAN TRUST

Whenever you buy something in the coming year, why not draw on the experience of thousands of discerning buyers?

time-read
5 mins  |
December 2024
5 things we learned from Lenovo Tech World'24
PC Pro

5 things we learned from Lenovo Tech World'24

In a landmark event where the CEOs of AMD, Intel and Nvidia all took to the stage, the theme of \"smarter AI for all\" was never far away, writes Tim Danton

time-read
5 mins  |
December 2024
The Darktrace leading to government
PC Pro

The Darktrace leading to government

British security firm Darktrace has been mired in controversy. Now its former CEO is a government minister. Rois Ni Thuama and Barry Collins investigate

time-read
9 mins  |
December 2024
Microsoft is doing more harm to Arm than good, argues Jon Honeyball
PC Pro

Microsoft is doing more harm to Arm than good, argues Jon Honeyball

You know that sinking feeling you get when something is not quite right? That nagging doubt that it shouldn't be like this? It was like that when I read that Qualcomm has cancelled its Snapdragon X developer kit, a desktop Mac mini-like box designed for developers to create and test apps for Windows on Arm (WoA).

time-read
3 mins  |
December 2024
How do we know how smart AI really is?
PC Pro

How do we know how smart AI really is?

Maths questions. Silly word puzzles. Counting the letter \"r\" in a sentence. Nicole Kobie reveals how we're trying to work out exactly how intelligent AI is

time-read
7 mins  |
December 2024
Missed call Whatever happened to the Acorn Communicator?
PC Pro

Missed call Whatever happened to the Acorn Communicator?

When Acorn launched its 16-bit Communicator computer with a built-in modem, it struggled to get potential buyers to listen, as David Crookes explains

time-read
9 mins  |
December 2024
STEVE CASSIDY-"Getting workers to do simple jobs in the 16th century was not much different from the 21st"
PC Pro

STEVE CASSIDY-"Getting workers to do simple jobs in the 16th century was not much different from the 21st"

Why 16th century \"networking\" legislation still has an impact, and why the term AI is confusing to punters as well as a waste of natural resources

time-read
8 mins  |
December 2024
JON HONEYBALL -"The more I have to do with UK telcos, the more broken their systems seem to be"
PC Pro

JON HONEYBALL -"The more I have to do with UK telcos, the more broken their systems seem to be"

After being tempted by the iPhone 16 Pro Max - for professional reasons, honest - and the Watch 2 Ultra, Jon discovers not everything is perfect in Apple's new generation

time-read
10 mins  |
December 2024
Apple iPhone 16 Pro
PC Pro

Apple iPhone 16 Pro

A bigger display, borrowed 5x tetraprism zoom from the Max and no price hike make this the best iPhone

time-read
7 mins  |
December 2024