Skip to content

Commit c2b923e

Browse files
committed
No sudo sh install.sh - move WSL up
1 parent 50d1d73 commit c2b923e

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

INSTALL.md

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ sh install.sh
2020

2121
On Ubuntu 18.04, you need python 3.7. It's not available in the default
2222
repository, so you need to add an alternate source. You can skip this step
23-
on Ubuntu 19.x
23+
if you install in Ubuntu 19.x or higher
2424

2525
```bash
2626
# for add-apt-repository
2727
sudo apt install software-properties-common -y
2828
sudo add-apt-repository ppa:deadsnakes/ppa -y
2929
```
3030

31-
Install dependencies.
32-
31+
Install dependencies for all Ubuntu.
3332
```bash
3433
sudo apt-get update
3534
sudo apt-get install python3.7-venv python3.7-dev -y
@@ -42,6 +41,33 @@ sh install.sh
4241

4342
. ./activate
4443
```
44+
45+
### Windows (WSL)
46+
#### Install WSL2 + Ubuntu 18.04 LTS
47+
48+
From an Administrator PowerShell
49+
`Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux`
50+
and then
51+
`Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform`.
52+
This usually requires a reboot. Once that is complete, install Ubuntu 18.04 LTS from the Microsoft Store.
53+
```bash
54+
# add-apt-repository
55+
sudo apt install software-properties-common -y
56+
sudo add-apt-repository ppa:deadsnakes/ppa -y
57+
58+
sudo apt-get -y update
59+
sudo apt-get -y upgrade
60+
61+
sudo apt-get install python3.7-venv python3.7-dev -y
62+
sudo apt-get install build-essential git cmake libgmp3-dev libssl-dev libboost-all-dev -y
63+
64+
git clone https://github.com/Chia-Network/chia-blockchain.git
65+
cd chia-blockchain
66+
67+
sh install.sh
68+
. ./activate
69+
```
70+
4571
### Amazon Linux 2
4672

4773
```bash
@@ -62,6 +88,7 @@ sh install.sh
6288

6389
. ./activate
6490
```
91+
6592
### CentOS 7
6693

6794
```bash
@@ -90,29 +117,3 @@ cd chia-blockchain
90117
sh install.sh
91118
. ./activate
92119
```
93-
94-
### Windows (WSL + Ubuntu)
95-
#### Install WSL2 + Ubuntu 18.04 LTS
96-
97-
From an Administrator PowerShell
98-
`Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux`
99-
and then
100-
`Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform`.
101-
This usually requires a reboot. Once that is complete, install Ubuntu 18.04 LTS from the Microsoft Store.
102-
```bash
103-
# add-apt-repository
104-
sudo apt install software-properties-common -y
105-
sudo add-apt-repository ppa:deadsnakes/ppa -y
106-
107-
sudo apt-get -y update
108-
sudo apt-get -y upgrade
109-
110-
sudo apt-get install python3.7-venv python3.7-dev -y
111-
sudo apt-get install build-essential git cmake libgmp3-dev libssl-dev libboost-all-dev -y
112-
113-
git clone https://github.com/Chia-Network/chia-blockchain.git
114-
cd chia-blockchain
115-
116-
sudo sh install.sh
117-
. ./activate
118-
```

0 commit comments

Comments
 (0)