Skip to content

Instantly share code, notes, and snippets.

@stanbar
Last active September 15, 2023 00:09
Show Gist options
  • Save stanbar/028035ef5cfd3968f653b4b124f147bd to your computer and use it in GitHub Desktop.
Save stanbar/028035ef5cfd3968f653b4b124f147bd to your computer and use it in GitHub Desktop.
Keybase Raspberry Pi Raspbian installator
echo go get keybase && \
go get github.com/keybase/client/go/keybase && \
echo go build keybase && \
go build -tags production github.com/keybase/client/go/keybase && \
sudo mv keybase /usr/bin/ && \
echo go build kbfsfuse && \
go build -tags production github.com/keybase/client/go/kbfs/kbfsfuse && \
sudo mv kbfsfuse /usr/bin/ && \
echo go build git-remote-keybase && \
go build -tags production github.com/keybase/client/go/kbfs/kbfsgit/git-remote-keybase && \
sudo mv git-remote-keybase /usr/bin/ && \
echo go build redirector && \
go build -tags production github.com/keybase/client/go/kbfs/redirector && \
sudo mv redirector /usr/bin/keybase-redirector && \
sudo mkdir -p /opt/keybase && \
sudo wget -q https://raw.githubusercontent.com/keybase/client/master/packaging/linux/crypto_squirrel.txt -P /opt/keybase/ && \
sudo wget -q https://raw.githubusercontent.com/keybase/client/master/packaging/linux/post_install.sh -P /opt/keybase/ && \
echo installing systemd services && \
sudo wget -q https://raw.githubusercontent.com/keybase/client/master/packaging/linux/systemd/keybase.service -P /usr/lib/systemd/user/ && \
sudo wget -q https://raw.githubusercontent.com/keybase/client/master/packaging/linux/systemd/kbfs.service -P /usr/lib/systemd/user/ && \
sudo wget -q https://raw.githubusercontent.com/keybase/client/master/packaging/linux/systemd/keybase-redirector.service -P /usr/lib/systemd/user/ && \
chmod +x /opt/keybase/post_install.sh && \
/opt/keybase/post_install.sh && \
curl https://github.com/keybase/client/blob/master/packaging/linux/run_keybase > run_keybase && \
chmod +x ./run_keybase && \
./run_keybase -g
@CooperGerman
Copy link

Hi @wasdee , do you still use this script nowadays ? I don't seems to be able to compile on a rpi4 using your instructions ... I'm stuck a some cgo-gcc-export-header-prolog:31:14: error: size of array ‘_check_for_64_bit_pointer_matching_GoInt’ is negative error

@wasdee
Copy link

wasdee commented Sep 15, 2023

@CooperGerman im not using it much today. the script remains the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment