Install filecoin lotus on Ubuntu (part 1)

1、Get updated software list and installed relevant packages

sudo apt update
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev

2、Install build dependencies

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
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup

3、Download the source code

git clone https://github.com/filecoin-project/lotus.git
cd lotus/

4、start compiling and installing

make clean && make all
sudo make install

你可能感兴趣的:(IPFS&filecoin)