Skip to content

Commit 2f7068b

Browse files
authored
Update WSL2 install instructions
1 parent 85fdcd6 commit 2f7068b

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

INSTALL.md

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cd chia-blockchain
4040

4141
sh install.sh
4242

43-
. .venv/bin/activate
43+
. ./activate
4444
```
4545
### Amazon Linux 2
4646

@@ -60,7 +60,7 @@ cd chia-blockchain
6060

6161
sh install.sh
6262

63-
. .venv/bin/activate
63+
. ./activate
6464
```
6565
### CentOS 7
6666

@@ -88,52 +88,31 @@ git clone https://github.com/Chia-Network/chia-blockchain.git
8888
cd chia-blockchain
8989

9090
sh install.sh
91-
. .venv/bin/activate
91+
. ./activate
9292
```
9393

9494
### Windows (WSL + Ubuntu)
95-
#### Install WSL + Ubuntu 18.04 LTS, upgrade to Ubuntu 19.x
95+
#### Install WSL2 + Ubuntu 18.04 LTS
9696

97-
This will require multiple reboots. From an Administrator PowerShell
97+
From an Administrator PowerShell
9898
`Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux`
9999
and then
100100
`Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform`.
101-
Once that is complete, install Ubuntu 18.04 LTS from the Microsoft Store.
101+
This usually requires a reboot. Once that is complete, install Ubuntu 18.04 LTS from the Microsoft Store.
102102
```bash
103-
# Upgrade to 19.x
104-
sudo nano /etc/update-manager/release-upgrades
105-
# Change "Prompt=lts" to "Prompt=normal" save and exit
103+
# add-apt-repository
104+
sudo apt install software-properties-common -y
105+
sudo add-apt-repository ppa:deadsnakes/ppa -y
106106

107107
sudo apt-get -y update
108108
sudo apt-get -y upgrade
109-
sudo do-release-upgrade
110-
111-
sudo apt-get install -y build-essential cmake python3-dev python3-venv software-properties-common libgmp3-dev --no-install-recommends
112-
113-
git clone https://github.com/Chia-Network/chia-blockchain.git
114-
cd chia-blockchain
115-
116-
sudo sh install.sh
117-
. .venv/bin/activate
118-
```
119-
120-
#### Alternate method for Ubuntu 18.04 LTS
121-
In `./install.sh`:
122-
Change `python3` to `python3.7`
123-
Each line that starts with `pip ...` becomes `python -m pip ...`
124-
125-
```bash
126-
sudo apt-get -y update
127-
sudo apt-get install -y build-essential cmake python3-dev python3-venv software-properties-common libgmp3-dev --no-install-recommends
128109

129-
# Install python3.7 with ppa
130-
sudo add-apt-repository -y ppa:deadsnakes/ppa
131-
sudo apt-get -y update
132-
sudo apt-get install -y python3.7 python3.7-venv python3.7-dev
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
133112

134113
git clone https://github.com/Chia-Network/chia-blockchain.git
135114
cd chia-blockchain
136115

137116
sudo sh install.sh
138-
. .venv/bin/activate
117+
. ./activate
139118
```

0 commit comments

Comments
 (0)