Go language is available in the default repositories of most modern Linux distributions.
To install Golang in Alpine Linux, run:
On Arch Linux and variants like EndeavourOS and Manjaro Linux:
On RPM based systems like Fedora, RHEL, and its clones like CentOS, AlmaLinux and Rocky Linux, run:
On older RHEL systems, use yum
instead of dnf
:
On DEB based systems such as Debian, Ubuntu, Linux Mint and Pop OS, you can install Go language using command:
On SUSE/openSUSE:
Once installed, Check the Golang version using command:
Sample output:
0 comments:
Post a Comment