---
title: "Golang installation"
canonical_url: "https://www.zone.lv/help/kb/golang-installation/"
post_type: "ht_kb"
published: "2024-04-04T06:55:46+00:00"
modified: "2024-04-04T06:55:46+00:00"
language: "en"
author: "silver"
taxonomies:
  ht_kb_category:
    - name: "Technical"
      url: "https://www.zone.lv/help/kb-categories/technical-en/"
  ht_kb_tag:
    - name: "golang"
      url: "https://www.zone.lv/help/kb-tags/golang-en/"
---

# Golang installation

Both the Golang development environment and the applications compiled in it are very self-contained and do not require anything from the system other than a reasonably modern glibc library.

To install Golang, download the Go package for the Linux/amd64 platform from <https://go.dev/dl/>, unpack it in the home directory and add ~/go/bin to the $PATH environment variable:

```
wget https://go.dev/dl/go1.18.1.linux-amd64.tar.gz
tar -C ~ -xzf go1.18.1.linux-amd64.tar.gz
export PATH=~/go/bin:$PATH
go version
```
