Skip to content

Instantly share code, notes, and snippets.

@johnnymatthews
Last active December 2, 2020 22:53
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 johnnymatthews/9adc86c70f0a2633ca876747fd6c1c28 to your computer and use it in GitHub Desktop.
Save johnnymatthews/9adc86c70f0a2633ca876747fd6c1c28 to your computer and use it in GitHub Desktop.
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev -y &&
sudo apt upgrade -y &&
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh &&
wget -c https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local &&
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc &&
source ~/.bashrc &&
cd ~ && git clone https://github.com/filecoin-project/lotus.git &&
cd lotus && make clean all && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment