Last active
June 20, 2018 10:26
-
-
Save cvcore/da7b4a86fe36b3c26fdab0097afd8906 to your computer and use it in GitHub Desktop.
install git lfs on PX2 (aarch64)
This file contains 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
#!/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