Skip to content

Commit

Permalink
gobot on Wheezy needs an updated golang
Browse files Browse the repository at this point in the history
Add instructions on how to install go 1.4. Default is too old
  • Loading branch information
alecthegeek committed Dec 29, 2014
1 parent f19fd7d commit 26521e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions platforms/raspi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ The Raspberry Pi is a credit-card-sized single-board computer developed in the U

For more info about the Raspberry Pi platform, click [here](http://www.raspberrypi.org/).

__Special note for Raspian Wheezy users__

The go vesion installed from the default package repositories is very old and will not compile gobot. You can install go 1.4 as follows:

wget -O - http://dave.cheney.net/paste/go1.4.linux-arm~multiarch-armv6-1.tar.gz|sudo tar -xzC /usr/local -f -

echo '# Setup for golang' |sudo tee /etc/profile.d/golang.sh
echo 'PATH=$PATH:/usr/local/go/bin'|sudo tee -a /etc/profile.d/golang.sh

source /etc/profile.d/golang.sh

## How to Install

First you must install the appropriate Go packages
Expand Down

0 comments on commit 26521e7

Please sign in to comment.