Skip to content

Instantly share code, notes, and snippets.

@insanity54
Created December 11, 2019 19:10
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 insanity54/f709ac35ce564aefadb321126344916a to your computer and use it in GitHub Desktop.
Save insanity54/f709ac35ce564aefadb321126344916a to your computer and use it in GitHub Desktop.
Lotus installation
#!/bin/bash
# designed for Ubuntu 18.04
# greetz https://docs.lotu.sh/en+install-lotus-ubuntu
sudo apt update
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go gcc git bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev
git clone https://github.com/filecoin-project/lotus.git
cd lotus/
make clean && make all
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment