Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Jan 2, 2015
1 parent d156414 commit 7c1e67d
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions platforms/raspi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@ 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__
## How to Install

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:
First you must install the appropriate Go packages

wget -O - http://dave.cheney.net/paste/go1.4.linux-arm~multiarch-armv6-1.tar.gz|sudo tar -xzC /usr/local -f -
```
go get -d -u github.com/hybridgroup/gobot/... && go install github.com/hybridgroup/gobot/platforms/raspi
```

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
### Special note for Raspian Wheezy users

source /etc/profile.d/golang.sh
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:

## How to Install
```bash
$ wget -O - http://dave.cheney.net/paste/go1.4.linux-arm~multiarch-armv6-1.tar.gz|sudo tar -xzC /usr/local -f -

First you must install the appropriate Go packages
$ 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

```
go get -d -u github.com/hybridgroup/gobot/... && go install github.com/hybridgroup/gobot/platforms/raspi
$ source /etc/profile.d/golang.sh
```

#### Cross compiling for the Raspberry Pi
Expand Down

0 comments on commit 7c1e67d

Please sign in to comment.