-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi: install golang #185
Labels
Comments
树莓派4b 安装 golang:
|
方法1: 包管理工具
|
方法2: 官网下载源码安装:
# arm v6: (树莓派选择)
wget https://studygolang.com/dl/golang/go1.18.3.linux-armv6l.tar.gz
wget https://dl.google.com/go/go1.14.1.linux-armv6l.tar.gz
wget https://studygolang.com/dl/golang/go1.14.1.linux-armv6l.tar.gz
# arm v8:
wget https://dl.google.com/go/go1.14.1.linux-arm64.tar.gz
wget https://studygolang.com/dl/golang/go1.14.1.linux-arm64.tar.gz
# 本地上传到树莓派:
scp ./go1.14.1.linux-armv6l.tar.gz pi@192.168.2.199:/home/pi/Downloads
# 解压到 安装目录:
tar -C /usr/local -xzvf xxx
sudo tar -C /usr/local -xzf ./go1.14.1.linux-arm64.tar.gz
# 查看:
ls -l /usr/local/go
|
This was referenced Jun 21, 2023
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
related:
The text was updated successfully, but these errors were encountered: