Last active
November 18, 2016 15:48
-
-
Save hajimehoshi/f611a2faf829d448f30739292dce2fd7 to your computer and use it in GitHub Desktop.
install_ebiten_on_chip.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get upgrade | |
yes | sudo apt-get install wget | |
yes | sudo apt-get install git | |
yes | sudo apt-get install gcc | |
yes | sudo apt-get install libglu1-mesa-dev libgles2-mesa-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libopenal-dev | |
wget https://storage.googleapis.com/golang/go1.7.3.linux-armv6l.tar.gz | |
tar zxvf go1.7.3.linux-armv6l.tar.gz | |
mv go go-bin | |
mkdir go | |
echo '' >> .bashrc | |
echo 'export GOPATH=~/go' >> .bashrc | |
echo 'export GOROOT=~/go-bin' >> .bashrc | |
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> .bashrc | |
source .bashrc | |
go get -u github.com/hajimehoshi/ebiten/... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment