In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "detailed steps to install Go1.9.2", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "detailed steps to install Go1.9.2" bar!
Environment description:
Operating system: Ubuntu linux
GoLang:1.9.2
Download address: https://www.golangtc.com/download
Installation steps
1. Curl-O https://www.golangtc.com/static/go/1.9.2/go1.9.2.linux-amd64.tar.gz
2. Tar-C / usr/local-zxvf go1.9.2.linux-amd64.tar.gz
3. Mkdir-p ~ / go/src
4. $vim / etc/profile
Insert the last line after / etc/profile is opened
Export GOROOT=/usr/local/goexport PATH=$PATH:$GOROOT/binexport GOPATH=/data/workproject
Then source / etc/profile
Under root authority
5. If the execution of go version is successful, the configuration of go environment variables is successful
GOROOT:go is the installation path of golang
GOPATH: a workspace-related environment variable in the go language. This variable specifies the workspace location of the go language. It stores all the code in a workspace, specifically a directory.
Execute command: go env
View the environment configuration of go
Thank you for your reading, the above is the content of "detailed steps for installing Go1.9.2". After the study of this article, I believe you have a deeper understanding of the detailed steps of installing Go1.9.2, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.