Update Ubuntu installation documentation + bump required go version to 1.14
This commit is contained in:
parent
6f501119bf
commit
d4b230c137
@ -2,7 +2,7 @@
|
||||
|
||||
These steps will install the following dependencies:
|
||||
|
||||
- go (1.13 or higher)
|
||||
- go (1.14 or higher)
|
||||
- gcc (7.4.0 or higher)
|
||||
- git (version 2 or higher)
|
||||
- bzr (some go dependency needs this)
|
||||
@ -15,29 +15,28 @@ These steps will install the following dependencies:
|
||||
- llvm (proofs build)
|
||||
- clang (proofs build)
|
||||
|
||||
Run
|
||||
|
||||
```sh
|
||||
sudo apt update
|
||||
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev
|
||||
```
|
||||
|
||||
Build
|
||||
Install dependencies
|
||||
|
||||
```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
|
||||
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config golang-go
|
||||
```
|
||||
|
||||
Clone
|
||||
Install Rust
|
||||
_(this is an interactive installer)_
|
||||
```sh
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
```
|
||||
|
||||
Clone the Lotus repository
|
||||
|
||||
```sh
|
||||
git clone https://github.com/filecoin-project/lotus.git
|
||||
cd lotus/
|
||||
```
|
||||
|
||||
Install
|
||||
Build the Lotus binaries from source and install
|
||||
|
||||
```sh
|
||||
make clean && make all
|
||||
@ -45,3 +44,12 @@ 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](https://docs.lotu.sh/en+join-testnet).
|
||||
|
||||
### Interopnet
|
||||
|
||||
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](https://github.com/filecoin-project/lotus/tree/interopnet/documentation/en)
|
||||
|
Loading…
Reference in New Issue
Block a user