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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install the GE language environment in the Linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
About the Go language: Go is an open source programming language that makes it easy to build simple, reliable and efficient software.
Go was developed by Robert Griesemer, Rob Pike and Ken Thompson in late 2007, and later joined Ian Lance Taylor, Russ Cox and others. Finally, it was open source in November 2009 and released a stable version of Go 1 in early 2012.
Now the development of Go is completely open and has an active community.
Linux system installation Go language specific steps: 1. Check the Linux system version: uname-a
2. Find the corresponding Go language installation package according to the system version. The Go language Chinese network address: https://studygolang.com/dl
\ 3. Change to the / usr/local directory, download the Go language installation package, and extract:
Cd / usr/local/ # download installation package wget https://studygolang.com/dl/golang/go1.14.1.linux-amd64.tar.gz # extract installation package tar-zxvf go1.14.1.linux-amd64.tar.gz\ 4. Set up a working directory. It is officially recommended to put it under / home/go and create three directories: bin (the path to the compiled executable file), pkg (the path to the generated .a file when compiling the package), and src (the source code path. Generally, our project is created under src).
Mkdir-p / home/go/bin/home/go/pkg / home/go/src\ 5. Configure environment variables:
# Open configuration vi / etc/profile # add export GOROOT=/usr/local/go export GOPATH=/home/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin # Save exit: wq # configuration takes effect source / etc/profile\ 6. Execute the go version command to see that the Go version is as follows, then the installation is successful.
Perform go env to view the configuration:
This is the end of the article on "how to install the GE language environment in the Linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.