lotus/documentation/en/install-lotus-arch.md
2019-12-11 07:38:04 -08:00

872 B

Arch Linux Instructions

These steps will install the following dependencies:

  • go (1.13 or higher)
  • gcc (7.4.0 or higher)
  • git (version 2 or higher)
  • bzr (some go dependency needs this)
  • jq
  • pkg-config
  • opencl-icd-loader
  • opencl driver (like nvidia-opencl on arch) (for GPU acceleration)
  • opencl-headers (build)
  • rustup (proofs build)
  • llvm (proofs build)
  • clang (proofs build)

Run

sudo pacman -Syu opencl-icd-loader

Build

sudo pacman -Syu go gcc git bzr jq pkg-config opencl-icd-loader opencl-headers

Clone

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

Install

make clean && make all
sudo make install

After installing Lotus, you can run the lotus command directly from your CLI to see usage documentation. Next, you can join the Lotus TestNet.