|
1 | | -## Installation |
| 1 | +# Installation |
2 | 2 |
|
3 | | -To install the chia-blockchain node, follow the instructions according to your operating system. |
4 | | -After installing, follow the remaining instructions in [README.md](README.md) to run the software. |
| 3 | +Install instructions have been moved to the [INSTALL](https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL) section of the repository [Wiki](https://github.com/Chia-Network/chia-blockchain/wiki) |
5 | 4 |
|
6 | | -### MacOS |
7 | | -Currently Catalina (10.15.x) is required. |
8 | | -Make sure [brew](https://brew.sh/) is available before starting the setup. |
9 | | -```bash |
10 | | -git clone https://github.com/Chia-Network/chia-blockchain.git |
11 | | -cd chia-blockchain |
12 | | - |
13 | | -sh install.sh |
14 | | -. ./activate |
15 | | -``` |
16 | | - |
17 | | -### Debian/Ubuntu |
18 | | - |
19 | | -Install dependencies for Ubuntu 18.04, Ubuntu 19.x or newer. |
20 | | -```bash |
21 | | -sudo apt-get update |
22 | | -sudo apt-get install python3.7-venv python3.7-distutils git -y |
23 | | - |
24 | | -# Either checkout the source and install |
25 | | -git clone https://github.com/Chia-Network/chia-blockchain.git |
26 | | -cd chia-blockchain |
27 | | - |
28 | | -sh install.sh |
29 | | - |
30 | | -. ./activate |
31 | | - |
32 | | -# Or install chia-blockchain as a binary package |
33 | | -python3.7 -m venv venv |
34 | | -ln -s venv/bin/activate |
35 | | -. ./activate |
36 | | -pip install --upgrade pip |
37 | | -pip install -i https://hosted.chia.net/simple/ miniupnpc==2.0.2 setproctitle==1.1.10 cbor2==5.0.1 |
38 | | - |
39 | | -pip install chia-blockchain==1.0.beta3 |
40 | | -``` |
41 | | - |
42 | | -### Windows (WSL) |
43 | | -#### Install WSL2 + Ubuntu 18.04 LTS |
44 | | - |
45 | | -From an Administrator PowerShell |
46 | | -``` |
47 | | -dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart |
48 | | -dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all |
49 | | -``` |
50 | | -You will be prompted to reboot. Once that is complete, install Ubuntu 18.04 LTS from the Microsoft Store and run it and complete its initial install steps. You now have linux bash shell that can run linux native software on Windows. |
51 | | - |
52 | | -Then follow the steps below which are the same as the usual Ubuntu instructions above. |
53 | | -```bash |
54 | | -sudo apt-get update |
55 | | -sudo apt-get install python3.7-venv python3.7-distutils git -y |
56 | | - |
57 | | -# Either checkout the source and install |
58 | | -git clone https://github.com/Chia-Network/chia-blockchain.git |
59 | | -cd chia-blockchain |
60 | | - |
61 | | -sh install.sh |
62 | | - |
63 | | -. ./activate |
64 | | - |
65 | | -# Or install chia-blockchain as a binary package |
66 | | -python3.7 -m venv venv |
67 | | -ln -s venv/bin/activate |
68 | | -. ./activate |
69 | | -pip install --upgrade pip |
70 | | -pip install -i https://hosted.chia.net/simple/ miniupnpc==2.0.2 setproctitle==1.1.10 cbor2==5.0.1 |
71 | | - |
72 | | -pip install chia-blockchain==1.0.beta3 |
73 | | -``` |
74 | | -You will need to download the Windows native Wallet and unzip into somewhere convenient in Windows. You may have to choose "More Info" and "Run Anyway" to be able to run the currently unsigned installer. This will place a Chia icon in your Start menu and on your Desktop that starts the Wallet UI. |
75 | | - |
76 | | -[Download: Chia-Wallet-Install-0.1.3](https://hosted.chia.net/beta-1.3-win64-wallet/Chia-Wallet-Install-0.1.3.msi) |
77 | | - |
78 | | -Instead of `chia-start-wallet-ui &` as explained in the [README.md](README.md) you run `chia-start-wallet-server &` in Ubuntu/WSL 2 to allow the Wallet to connect to the Full Node running in Ubuntu/WSL 2. Once you've enabled `chia-start-wallet-server &` you can run "Chia" from the Start menu or your Desktop. |
79 | | - |
80 | | -### Amazon Linux 2 |
81 | | - |
82 | | -```bash |
83 | | -sudo yum update -y |
84 | | -sudo yum install python3 git -y |
85 | | - |
86 | | -git clone https://github.com/Chia-Network/chia-blockchain.git |
87 | | -cd chia-blockchain |
88 | | - |
89 | | -sh install.sh |
90 | | - |
91 | | -. ./activate |
92 | | - |
93 | | -# Or install chia-blockchain as a binary package |
94 | | -curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - |
95 | | -sudo yum install -y nodejs |
96 | | - |
97 | | -python3.7 -m venv venv |
98 | | -ln -s venv/bin/activate |
99 | | -. ./activate |
100 | | -pip install --upgrade pip |
101 | | -pip install -i https://hosted.chia.net/simple/ miniupnpc==2.0.2 setproctitle==1.1.10 cbor2==5.0.1 |
102 | | - |
103 | | -pip install chia-blockchain==1.0.beta3 |
104 | | -``` |
105 | | - |
106 | | -### CentOS/RHEL 7.7 or newer |
107 | | - |
108 | | -```bash |
109 | | -sudo yum update -y |
110 | | - |
111 | | -# Compiling python 3.7 is generally required on CentOS 7.7 and newer |
112 | | -sudo yum install gcc openssl-devel bzip2-devel libffi libffi-devel -y |
113 | | -sudo yum install libsqlite3x-devel -y |
114 | | - |
115 | | -wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz |
116 | | -tar -zxvf Python-3.7.7.tgz ; cd Python-3.7.7 |
117 | | -./configure --enable-optimizations; sudo make install; cd .. |
118 | | - |
119 | | -# Download and install the source version |
120 | | -git clone https://github.com/Chia-Network/chia-blockchain.git |
121 | | -cd chia-blockchain |
122 | | - |
123 | | -sh install.sh |
124 | | -. ./activate |
125 | | - |
126 | | -# Or install from binary wheels |
127 | | -curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - |
128 | | -sudo yum install -y nodejs |
129 | | - |
130 | | -python3.7 -m venv venv |
131 | | -ln -s venv/bin/activate |
132 | | -. ./activate |
133 | | -pip install --upgrade pip |
134 | | -pip install -i https://hosted.chia.net/simple/ miniupnpc==2.0.2 setproctitle==1.1.10 cbor2==5.0.1 |
135 | | - |
136 | | -pip install chia-blockchain==1.0.beta3 |
137 | | -``` |
| 5 | +After installing, follow the remaining instructions in the [Quick Start Guide](https://github.com/Chia-Network/chia-blockchain/wiki/Quick-Start-Guide) to run the software. |
0 commit comments