mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Add script for installing golang
This commit is contained in:
parent
4f09c7ada1
commit
51d1bd09e0
9
install_go.sh
Normal file
9
install_go.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export VERSION=1.15 OS=linux ARCH=amd64
|
||||
|
||||
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz
|
||||
sudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz
|
||||
rm go$VERSION.$OS-$ARCH.tar.gz
|
||||
|
||||
echo 'export PATH=$PATH:/usr/local/go/bin' >> $HOME/.bashrc
|
Loading…
Reference in New Issue
Block a user