Skip to content

Instantly share code, notes, and snippets.

@shiruken
Last active November 6, 2018 04:38
Show Gist options
  • Save shiruken/bd3d9078d997e4504021cf7c2668e219 to your computer and use it in GitHub Desktop.
Save shiruken/bd3d9078d997e4504021cf7c2668e219 to your computer and use it in GitHub Desktop.
Install git-lfs on Raspberry Pi 3 Model B+
  1. Remove previous golang packages (and remove /usr/local/go)
  2. Install golang v1.8 - https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz
  3. tar -C /usr/local -xzf go1.8.linux-armv6l.tar.gz
  4. echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
  5. mkdir /root/gocode
  6. export GOPATH=/root/gocode
  7. go get github.com/github/git-lfs
  8. cp /root/gocode/bin/git-lfs /usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment