How to Set Up Ubuntu on Windows 10 with WSL and Install Go in Minutes
This guide walks you through enabling the Windows Subsystem for Linux, installing Ubuntu from the Microsoft Store, configuring your user, updating packages, and adding the Go programming language, providing clear screenshots and command examples for a smooth cross‑platform development setup.
First enable the "Windows Subsystem for Linux" feature in the Control Panel.
Then open the Microsoft Store and search for "Run Linux on Windows" to download a Linux distribution; free options include Ubuntu, openSUSE Leap 42, and SUSE Linux Enterprise Server 12.
Install Ubuntu by following the on‑screen prompts (see screenshots).
During installation you will be asked to create a username and password.
After installation, open the Ubuntu terminal and run: sudo apt update & sudo apt upgrade Next, install the Go language and its documentation tools with:
sudo apt install golang-go & sudo apt install golang-golang-x-toolsUse go version and other common commands to verify the installation (screenshots illustrate the results).
With WSL, developing Linux applications directly on Windows becomes straightforward, eliminating the need for unstable virtual machines and enabling efficient cross‑platform development.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Open Source Linux
Focused on sharing Linux/Unix content, covering fundamentals, system development, network programming, automation/operations, cloud computing, and related professional knowledge.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
