2019-12-04 15:39:41 +00:00
# Ubuntu Instructions
2019-12-01 08:21:20 +00:00
2019-12-04 15:39:41 +00:00
These steps will install the following dependencies:
2019-12-01 08:21:20 +00:00
- 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
2019-12-01 08:21:20 +00:00
```sh
sudo apt update
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev
```
2019-12-04 15:39:41 +00:00
Build
2019-12-01 08:21:20 +00:00
```sh
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
```
2019-12-02 00:08:53 +00:00
Clone
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
git clone https://github.com/filecoin-project/lotus.git
cd lotus/
2019-12-01 08:21:20 +00:00
```
2019-12-02 00:08:53 +00:00
Install
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
make clean all
sudo make install
2019-12-01 08:21:20 +00:00
```
2019-12-09 12:53:40 +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 DevNet ](https://docs.lotu.sh/en+join-devnet ).