add dependency check to readme

This commit is contained in:
Nick Sweeting 2017-05-06 00:21:30 -04:00 committed by GitHub
parent 084d5aba1b
commit 2ca21b415f

View file

@ -18,12 +18,14 @@ Those numbers are from running it single-threaded on my i5 machine with 50mbps d
```bash
# On Mac:
brew install Caskroom/versions/google-chrome-canary wget python3
echo -e "#!/bin/bash\n/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary \$@" > /usr/local/bin/google-chrome
echo -e "#!/bin/bash\n/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary \$@" > /usr/local/bin/google-chrome
chmod +x /usr/local/bin/google-chrome
# On Linux:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
apt update; apt install google-chrome-beta python3 wget
# Check:
google-chrome --version && which wget && which python3 && echo "[√] All dependencies installed."
```
**Archiving:**