Skip to content

Instantly share code, notes, and snippets.

@hajimehoshi
Last active November 18, 2016 15:48
Show Gist options
  • Save hajimehoshi/f611a2faf829d448f30739292dce2fd7 to your computer and use it in GitHub Desktop.
Save hajimehoshi/f611a2faf829d448f30739292dce2fd7 to your computer and use it in GitHub Desktop.
install_ebiten_on_chip.sh
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