Ever wished you could tap into the power of Linux without leaving your familiar Windows 10 environment? Well, you absolutely can, and it’s simpler than you might think. We’re going to walk through how to install Ubuntu, a widely loved Linux distribution, right on your Windows 10 computer using a special tool called the Windows Subsystem for Linux, or WSL. This setup lets you run Linux commands and applications alongside your regular Windows programs, giving you the best of both worlds. It’s like adding a powerful new toolkit to your existing workbench, ready whenever you need it.
Tutorial – How to Install Ubuntu on Windows 10
Getting Ubuntu up and running on your Windows 10 machine is straightforward, thanks to Microsoft’s clever Windows Subsystem for Linux. These steps will guide you through enabling WSL, installing Ubuntu from the Microsoft Store, and preparing it for first use. You will soon be able to access a full Linux command-line environment without the hassle of dual-booting or setting up a complex virtual machine.
Step 1: Enable Windows Subsystem for Linux.
This is the very first thing we need to do, like flipping a switch to turn on a hidden feature in Windows. Open Windows Features, locate the “Windows Subsystem for Linux” option, and check the box. After you do this, Windows will likely ask you to restart your computer, which is completely normal. Think of it as preparing your system for something new, ensuring all the necessary groundwork is in place before we bring in Ubuntu.
Step 2: Open PowerShell as an administrator and run a command.
Once your computer restarts, open PowerShell with administrator privileges. You can usually find it by typing “PowerShell” into the Windows search bar, then right-clicking on it and selecting “Run as administrator.” In this window, you will type wsl --install and press Enter. This command is pretty magical because it does a lot of the heavy lifting for you, including installing the necessary WSL components and even downloading a default Linux distribution.
Step 3: Restart your computer again.
After the wsl --install command finishes its work, which might take a few minutes depending on your internet speed, you will need to restart your computer one more time. This second restart is important because it allows all newly installed components to integrate properly with your Windows system. It is like giving your computer a fresh start to ensure everything is in its proper place and ready to go.
Step 4: Set up your Ubuntu username and password.
When your computer boots back up after the second restart, a new window will open automatically. This window will be your new Ubuntu terminal, and it will prompt you to create a username and password for your Ubuntu installation. This is super important because it is how you will log in and manage your Linux environment. Choose something memorable but also secure, and remember that when you type your password, you will not see any characters appear on the screen; this is a standard Linux security feature.
After you successfully complete these steps, you will have a fully functional Ubuntu command-line environment running directly on your Windows 10 machine. You can then open your Ubuntu terminal whenever you like, start installing Linux software, and begin exploring the vast world of open-source tools and commands. It is truly a game-changer for developers, students, and anyone curious about Linux.
Tips for Installing Ubuntu on Windows 10
- Always ensure your Windows 10 system is fully updated before starting the WSL installation process. Updates often include important fixes and features that can prevent issues.
- If you encounter any issues during the installation, especially with enabling WSL, try searching online for specific error messages. The WSL community is very active and helpful.
- Consider installing Windows Terminal from the Microsoft Store. It is a fantastic application that lets you manage multiple command-line interfaces, including PowerShell and your Ubuntu WSL instance, all in one neat window.
- Once Ubuntu is installed, remember to run
sudo apt update && sudo apt upgraderegularly within your Ubuntu terminal. This command updates all software packages in your Linux environment, keeping it secure and up to date. - Explore the different Linux distributions available in the Microsoft Store if Ubuntu is not quite what you are looking for. There are other options like Debian and Kali Linux that you can install using the same WSL framework.
Frequently Asked Questions About Installing Ubuntu on Windows 10
What is the Windows Subsystem for Linux (WSL)?
WSL is a compatibility layer developed by Microsoft that allows you to run Linux binary executables natively on Windows 10. It is not a virtual machine in the traditional sense, but rather a way for Windows to understand and execute Linux commands and applications directly. This makes it super efficient and lightweight compared to other methods of running Linux on Windows, offering a seamless experience.
Do I need a powerful computer to run Ubuntu on WSL?
Not at all. One of the great advantages of WSL is its lightweight. If your computer can comfortably run Windows 10, it can almost certainly handle Ubuntu in WSL without noticeable slowdowns. It uses your existing system resources efficiently, so you do not need a beast of a machine to get started.
Can I run a graphical user interface (GUI) with Ubuntu on WSL?
Yes, you absolutely can run graphical Linux applications and even full desktop environments with WSL 2. While the initial setup focuses on the command line, Microsoft has continuously improved WSL to support GUI apps. You might need to install an X server on Windows and configure some settings, but it is definitely possible and becoming easier with new updates.
Is installing Ubuntu on WSL the same as dual-booting or using a virtual machine?
No, it is quite different. Dual-booting means you choose between Windows or Linux when your computer starts, requiring a full restart to switch. A virtual machine runs a completely separate operating system in an emulated environment, which can be resource-intensive. WSL, especially WSL 2, integrates much more deeply with Windows, allowing you to run Linux applications directly alongside your Windows programs without rebooting or significant overhead.
Can I access my Windows files from Ubuntu on WSL?
Yes, you can easily access your Windows file system from within your Ubuntu WSL environment. Your Windows drives, like C:, are typically mounted automatically under /mnt/c in your Linux file system. This makes it incredibly convenient to work on projects that require using both Windows and Linux tools on the same set of files.
Summary of How to Install Ubuntu on Windows 10
- Enable Windows Subsystem for Linux.
- Open PowerShell as administrator, run
wsl --install. - Restart your computer.
- Set up Ubuntu username and password.
Conclusion
So there you have it, a straightforward path to bringing the power and flexibility of Ubuntu right into your familiar Windows 10 environment. It is a fantastic leap forward for anyone who has ever felt limited by a single operating system, opening up a world of possibilities for developers, students, and tech enthusiasts alike. Imagine having access to thousands of open-source tools, powerful command-line utilities, and a vibrant Linux ecosystem, all without the headache of partitioning your hard drive or setting up complex virtual machines. This setup isn’t just about convenience, it’s about expanding your capabilities and giving you more control over your computing experience.
Think of it this way: your Windows 10 machine just got an upgrade, not a replacement. You can continue to use all your favorite Windows applications for productivity, gaming, or anything else, while simultaneously having a robust Linux environment available at a moment’s notice. It is truly the best of both worlds, seamlessly integrated. We’ve just scratched the surface of what’s possible once you install Ubuntu on Windows 10. From here, you can dive into learning Linux commands, exploring development tools, setting up web servers, or even experimenting with machine learning frameworks. The journey has just begun, and the beauty of it is that you are in control. Keep exploring, keep learning, and do not be afraid to tinker. The world of Linux is vast and welcoming, and now, it is more accessible than ever right from your Windows desktop. So, what will you build or discover first? The choice, and the power, is now yours.

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelor’s and Master’s degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.