Last active
September 15, 2023 00:09
-
-
Save stanbar/028035ef5cfd3968f653b4b124f147bd to your computer and use it in GitHub Desktop.
Keybase Raspberry Pi Raspbian installator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
@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
thank you.
I did found a way to compile it successfully for a while. Here is how i compile it.