当前位置:网站首页>Go environment installation
Go environment installation
2022-07-19 03:53:00 【Lao Wang's notes】
First deployment go Language environment , download :Downloads - The Go Programming Language
Be careful : adopt uname -m Check the details x86_64 still ARM64 , Then download the corresponding installation package , Otherwise, an error will be reported : -bash: /usr/local/go/bin/go: cannot execute binary file
I downloaded it go1.18.4.linux-amd64.tar.gz

Upload to server And extract the , Put the unzipped directory into /usr/local/ Next
]# ls /usr/local/go
api AUTHORS bin codereview.cfg CONTRIBUTING.md CONTRIBUTORS doc lib LICENSE misc PATENTS pkg README.md SECURITY.md src test VERSIONPut the following three lines in /etc/profile At the end of
export GO111MODULE=on
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/binLog in again shell, verification go Environmental Science
]# go version
go version go1.18.4 linux/amd64Installation successful
边栏推荐
猜你喜欢

TS的使用案例——贪吃蛇

Explanation of Hoff transformation

【C语言】0基础教程——文件操作(未完待续)

The role of key in V-for

企业钟情于混合 App 开发,小程序容器技术能让效率提升 100%

The software supply chain security risk that makes enterprise digitalization and it executives bear the brunt of the cauldron points to the north

Mouse slide two pictures before and after comparison JS plug-in

Properties of Gaussian distribution (including code)

HCIP第八天笔记

从 0 到 1 开展软件测试
随机推荐
(21)Blender源码分析之鼠标按下消息添加到队列的过程
【LeetCode】745. 前缀和后缀搜索
Teaching reform and software platform of entrepreneurship practice simulation
A robust deformation convolution neural network image denoising
【Try to Hack】NTLM身份验证过程
Latex environment configuration based on pandoc and vscode
Deep learning experiment notes
Group 卷积
Common table expression CTE in Clickhouse
Jmeter常用功能-参数化介绍
如何在自动化测试中使用MitmProxy获取数据返回?
【LeetCode】346. Moving average in data flow
JMeter中如何实现接口之间的关联?
Animation 动画片段跳帧、动画队列
Artifact website directories are all websites that are just needed and easy to use
时间轴组件
Burpsuite2022.1 detailed installation steps include certificate installation
Frrouting use
Introduction of modules (block, module)
【Nodejs】npm/nrm无法加载文件、因为在此系统禁止执行脚本解决方式