lotus/documentation/en/install-lotus-arch.md

45 lines
872 B
Markdown
Raw Normal View History

2019-12-04 15:39:41 +00:00
# Arch Linux Instructions
2019-12-04 15:39:41 +00:00
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)
2019-12-04 15:39:41 +00:00
Run
```sh
sudo pacman -Syu opencl-icd-loader
```
2019-12-04 15:39:41 +00:00
Build
```sh
sudo pacman -Syu go gcc git bzr jq pkg-config opencl-icd-loader opencl-headers
```
Clone
```sh
git clone https://github.com/filecoin-project/lotus.git
cd lotus/
```
Install
```sh
2019-12-11 15:38:04 +00:00
make clean && make all
sudo make install
```
2019-12-11 15:38:04 +00:00
After installing Lotus, you can run the `lotus` command directly from your CLI to see usage documentation. Next, you can join the [Lotus TestNet](https://docs.lotu.sh/en+join-testnet).