Skip to content

Commit 17b43e8

Browse files
committed
Update Linux installation steps
1 parent d539b7e commit 17b43e8

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

help_docs/before_installation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,20 @@ brew install chromedriver
3838
brew upgrade chromedriver
3939
```
4040

41+
Linux:
42+
43+
```bash
44+
wget http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
45+
unzip chromedriver_linux64.zip
46+
mv chromedriver /usr/local/bin/
47+
chmod +x /usr/local/bin/chromedriver
48+
```
49+
50+
```bash
51+
wget https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz
52+
tar xvfz geckodriver-v0.19.1-linux64.tar.gz
53+
mv geckodriver /usr/local/bin/
54+
chmod +x /usr/local/bin/geckodriver
55+
```
56+
4157
* To verify that the web drivers are working, **[follow these instructions](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/verify_webdriver.md)**.

help_docs/requirements_installation.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ On WINDOWS, run the following command:
2727
python -m pip install -U pip setuptools
2828
```
2929

30-
If you're having any trouble with that, you can [GET PIP HERE](https://pip.pypa.io/en/latest/installing/).
30+
On LINUX / CentOS 7, run the following commands:
31+
```bash
32+
yum -y update
33+
yum -y install python-pip
34+
```
35+
36+
If you're having any trouble getting pip, you can [GET PIP HERE](https://pip.pypa.io/en/latest/installing/).
3137

3238
When done, make sure the location of pip is on your path, which is `$PATH` for Mac/Linux. (On Windows, it's the System Variables `Path` within System Environment Variables. Ex: Add "C:/Python27/Scripts/" to the end of the `Path` variable.)
3339

0 commit comments

Comments
 (0)