How to install Go programming language on Ubuntu 24.04

Опубликовано: 21 Август 2026
на канале: MivoCloud
58
38

Go (Golang) is an open-source programming language created by Google, designed for simplicity, efficiency, and incredible performance. It combines the speed of compiled languages like C/C++ with the simplicity and ease of development found in Python.

In this video I will show you how to install it

🎁 SPECIAL OFFER:
Use the promo code NEW20_MIVO to get a 20% discount for 3 months on all "Virtual" services on our website!

Useful Links:
MivoCloud Hosting - https://clients.mivocloud.com/aff.php...
Read more useful articles in our Knowledge Base - https://mivocloud.com/blog

WARNING - ANGLED BRACKETS AREN'T ALLOWED IN DESCRIPTION SO BE ATTENTIVE TO THE VIDEO IN NANO EDITOR

⏰ Timestamps:

00:00 - Introduction
00:27 - Updating Ubuntu Packages
00:41 - Installing Docker
01:04 - Pulling the Official Go Docker Image
01:19 - Checking Go Version
01:24 - Creating Work Directory & Test Project
01:58 - Running "Hello World" in Docker Container
02:11 - Outro & Promo Code

Commands Used:
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io -y
sudo docker pull golang:latest
sudo docker run --rm golang:latest go version
mkdir ~/go-docker-test && cd ~/go-docker-test
nano main.go

package main

import "fmt"

func main() {
fmt.Println("Hello, World from Go inside Docker!")
}

sudo docker run --rm \
-v "$PWD":/usr/src/myapp \
-w /usr/src/myapp \
golang:latest \
go run main.go


#Golang #GoProgramming #Ubuntu2404 #Docker #LinuxTutorial #DevOps #BackendDevelopment #MivoCloud