当前位置:网站首页>Ubuntu install go
Ubuntu install go
2022-04-21 18:44:00 【brazor】
Link to the original text : github Isn't it a suction , So go to local
Ubuntu · golang/go Wiki · GitHub
https://github.com/golang/go/wiki/Ubuntu
The Go project's official download page is at https://go.dev/dl.
After downloading a binary release suitable for your system, you can install go by following the official installation instructions at https://go.dev/doc/install.
There are some other options for Debian based systems like Ubuntu. These packages were not created by the Go project, and we don't support them, but they may be useful for you.
Using PPA
If you're using Ubuntu 18.04 LTS or 20.04 LTS on amd64, arm64 or armhf, then you can use the longsleep/golang-backports PPA and update to Go 1.18.
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go
Note that
golang-goinstalls latest Go as default Go. If you do not want that, installgolang-1.18instead and use the binaries from/usr/lib/go-1.18/bin.
Using snap
Using snaps also works quite well.
sudo snap install --classic go
A restart may or may not be required for the command to be recognized depending on your system.
Using getgo
Using getgo (proof-of-concept command-line installer for Go).
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer
Getgo will install the Go distribution (tools & stdlib) to "/.go" inside your home directory.
版权声明
本文为[brazor]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211840307715.html
边栏推荐
- How about qiniu securities account app? Who opened an account? Is it safe?
- 干货| app自动化测试之Andriod微信小程序的自动化测试
- 干货|app自动化测试之Appium 源码修改定制分析
- 【js学习笔记四十一】单体模式
- |NO.Z.00063|——————————|BigDataEnd|
- AVL树删除,详细图解
- 这玩意叫跳表?
- [games101] assignment 5: simple ray tracing and framework understanding
- Developer tools top 100 list
- 2021-5-3 第三天第三题
猜你喜欢

A simple and easy-to-use file upload scheme

Les produits qui ont été achetés sont de retour.

After 4 rounds and 2 hours, finally cut meituan offer!

并发工具之Semaphore与Exchanger

AVL树删除,详细图解

How does PR open MKV files? How can MKV files be converted to MP4 and how can MP4 be consumed by ImageJ?

如何查看redis源码中的 zskiplist 结构

无线蓝牙耳机哪款比较好用?2022蓝牙耳机推荐

Can we find the next "cheese stick" product in the 2022 Q1 financial report of miaolando?

JVM 类加载机制
随机推荐
Gateway decryption recommended by large manufacturers: introduction to the function module of fizz gateway background management system
一个简单易用的文件上传方案
图文并茂 教你在IDEA中如何一键生成代码,提高开发效率!
VB judges whether a number is a prime number.
CVPR 2022 | 基于Transformer的新型人脸属性编辑框架TransEditor
Goldfish rhca memoirs: rh358 manages DNS and DNS servers -- configuring cache name servers using unbound
手把手教會你搭建組件與應用
[04][01][01] Redis 基础篇
Is the securities account of qiniu app safe? Who's driving here?
VB 判断某数是否是素数。
How does PR open MKV files? How can MKV files be converted to MP4 and how can MP4 be consumed by ImageJ?
干货|app自动化测试之Appium 原理 与 JsonWP 协议分析
How to detect how many cameras are plugged into the PC? And conduct multi camera synchronous recording?
Potential value of zero knowledge proof
How to parameterize use cases for dry goods app automation
DX12渲染引擎目录
C#多线去对数据库进行添加操作,ManualResetEvent报The number of WaitHandles must be less than or
工作总结!日志打印的15个建议
曾经被爆买的产品又来了,求稳买他准没错
Pictures and texts teach you how to generate code with one click in idea to improve development efficiency!