These steps will install the following dependencies:
sudo apt update sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl sudo apt upgrade
Install the latest version of Go by following the docs on their website.
git clone https://github.com/filecoin-project/lotus.git cd lotus/
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.
If you seek a smaller network to test, you can join the
interopnet. Please note that this network is meant for developers - it resets much more often, and is much smaller. To join this network, checkout the branch
interopnet instead of
master before building and installing;
git checkout interopnet
Please also note that this documentation (if viewed on the website) might not be up to date with the interopnet. For the latest documentation on the interopnet branch, see the Lotus Documentation Interopnet Branch on GitHub