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 {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Sign In
This story is from the {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Sign In
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
BRANDS YOU CAN TRUST
Whenever you buy something in the coming year, why not draw on the experience of thousands of discerning buyers?
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
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
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).
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
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
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
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
Apple iPhone 16 Pro
A bigger display, borrowed 5x tetraprism zoom from the Max and no price hike make this the best iPhone