File tree Expand file tree Collapse file tree 1 file changed +39
-33
lines changed Expand file tree Collapse file tree 1 file changed +39
-33
lines changed Original file line number Diff line number Diff line change @@ -25,52 +25,58 @@ Building Lotus from source allows you to strictly configure how Lotus runs and h
2525
26261 . Install Lotus dependencies:
2727
28- Arch:
29-
30- ``` shell
31- sudo pacman -Syu hwloc
32- ```
33-
34- Ubuntu/Debian:
35-
36- ``` shell
37- sudo apt install -y hwloc
38- ```
39-
40- Fedora:
41-
42- ``` shell
43- sudo dnf -y install hwloc
44- ```
45-
46- OpenSUSE:
47-
48- ``` shell
49- sudo zypper in hwloc
50- ```
28+ Arch:
29+
30+ ``` shell
31+ sudo pacman -Syu hwloc
32+ ```
33+
34+ Ubuntu/Debian:
35+
36+ ` ` ` shell
37+ sudo apt install -y hwloc
38+ ` ` `
39+
40+ Fedora:
41+
42+ ` ` ` shell
43+ sudo dnf -y install hwloc
44+ ` ` `
45+
46+ OpenSUSE:
47+
48+ ` ` ` shell
49+ sudo zypper in hwloc
50+ ` ` `
51+
52+ Amazon Linux 2:
53+
54+ ` ` ` shell
55+ sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; sudo yum install -y hwloc-devel
56+ ` ` `
5157
52- Amazon Linux 2 :
58+ 2. Download the latest Linux bundle from the [Lotus GitHub releases page](https://github.com/filecoin-project/lotus/releases/latest) :
5359
54- ``` shell
55- sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ; sudo yum install -y hwloc-devel
56- ```
60+ ` ` ` shell
61+ wget https://github.com/filecoin-project/lotus/releases/download/v{{ < version > }}/lotus_v{{ < version > }}_linux_amd64_v1.tar.gz
62+ ` ` `
5763
58- 1 . Download the latest Linux bundle from the [ Lotus GitHub releases page ] ( https://github.com/filecoin-project/lotus/releases/latest ) :
64+ 3. Extract tar -xvf archive.tar.gz executable :
5965
6066 ` ` ` shell
61- wget https://github.com/filecoin-project/lotus/releases/download/v{{ < version > }}/ lotus_v{{< version > }}_linux_amd64_V1 .tar.gz
67+ tar -xvf lotus_v{{< version > }}_linux_amd64_v1 .tar.gz
6268 ` ` `
6369
64- 2. Extract tar -xvf archive.tar.gz executable :
70+ 4. Move the ` lotus ` binary to ` /usr/local/bin ` :
6571
6672 ` ` ` shell
67- tar -xvf lotus_v {{< version > }}_linux_amd64.tar.gz
73+ sudo mv lotus_ {{< version > }}_linux_amd64/lotus /usr/local/bin/lotus
6874 ` ` `
6975
70- 3. Move the ` lotus ` binary to ` /usr/local/bin ` :
76+ 5. Set execute permissions on the binary :
7177
7278 ` ` ` shell
73- sudo mv lotus_{{ < version > }}_linux_amd64/lotus /usr/local/bin/lotus
79+ chmod ugo+x /usr/local/bin/lotus
7480 ` ` `
7581
7682# # Building from source
You can’t perform that action at this time.
0 commit comments