Fundamentals 3 min read

How to Set Up Ubuntu on Windows 10 with WSL: A Step‑by‑Step Guide

This tutorial walks you through enabling the Windows Subsystem for Linux, installing Ubuntu from the Microsoft Store, configuring the new Linux environment, updating packages, and adding Go tools, providing clear screenshots and command examples for a smooth cross‑platform development setup.

ITPUB
ITPUB
ITPUB
How to Set Up Ubuntu on Windows 10 with WSL: A Step‑by‑Step Guide

First, open the Windows Control Panel, locate "Turn Windows features on or off," and enable the option "Windows Subsystem for Linux" (WSL). After confirming, restart the computer to apply the change.

Next, open Microsoft Store, search for "Linux" or "Ubuntu," and install the Ubuntu app (or other available distributions such as openSUSE Leap 42 or SUSE Linux Enterprise Server 12). The store page provides a free download.

Launch the installed Ubuntu app; the first run will prompt you to create a Unix username and password. The installation completes within minutes.

Once Ubuntu is ready, update the package lists and upgrade existing packages with the following commands: sudo apt update && sudo apt upgrade To add Go development tools, install the Go compiler and documentation utilities via apt:

sudo apt install golang-go && sudo apt install golang-golang-x-tools

After installation, you can verify the setup and explore common commands, such as checking the Go version, listing installed packages, or running godoc to view documentation.

Using WSL eliminates the need for separate virtual machines, providing a lightweight Linux environment directly within Windows 10, which simplifies cross‑platform development and testing.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

LinuxDevelopment EnvironmentWSLUbuntuWindows10
ITPUB
Written by

ITPUB

Official ITPUB account sharing technical insights, community news, and exciting events.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.