Skip to content

Instantly share code, notes, and snippets.

@cvcore
Last active June 20, 2018 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cvcore/da7b4a86fe36b3c26fdab0097afd8906 to your computer and use it in GitHub Desktop.
Save cvcore/da7b4a86fe36b3c26fdab0097afd8906 to your computer and use it in GitHub Desktop.
install git lfs on PX2 (aarch64)
#!/bin/bash
# install go
mkdir -p ~/Downloads && cd ~/Downloads
wget https://dl.google.com/go/go1.9.4.linux-arm64.tar.gz
sudo tar -C /usr/local -xzf go1.9.4.linux-arm64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc
# install git-lfs
cd ~/Downloads
git clone https://github.com/github/git-lfs.git
cd git-lfs
./script/bootstrap
#OR:
#wget https://github.com/git-lfs/git-lfs/archive/v2.3.4.tar.gz
#tar xvf v2.3.4.tar.gz
#cd git-lfs-2.3.4
#./script/bootscrap
echo "export PATH=\$PATH:$(pwd)/bin" >> ~/.bashrc
source ~/.bashrc
git lfs install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment