Last active
August 6, 2020 16:50
-
-
Save danman01/e0aed7010aee0f39f3a9fb8d6b111267 to your computer and use it in GitHub Desktop.
install chromedriver on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: make sure you get the correct chromedriver link for your version of chrome, and that it's a stable release. Check here: https://sites.google.com/a/chromium.org/chromedriver/downloads | |
# steps: | |
# get the file | |
# unzip it | |
# move it to /usr/local/bin (or wherever) | |
# I already added the above to my path. If you haven't, edit your ~/.bashrc or terminal profile of choice, and add `export PATH=/usr/local/bin:$PATH` | |
# change owner to root | |
# add executable | |
# check version... | |
# done! | |
# running through the steps: | |
$: wget https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_linux64.zip | |
--2020-08-06 12:43:12-- https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_linux64.zip | |
Resolving chromedriver.storage.googleapis.com (chromedriver.storage.googleapis.com)... 2607:f8b0:4004:811::2010, 172.217.7.240 | |
Connecting to chromedriver.storage.googleapis.com (chromedriver.storage.googleapis.com)|2607:f8b0:4004:811::2010|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 5306126 (5.1M) [application/zip] | |
Saving to: ‘chromedriver_linux64.zip’ | |
chromedriver_linux64.zip 100%[==================================================================================>] 5.06M 10.6MB/s in 0.5s | |
2020-08-06 12:43:12 (10.6 MB/s) - ‘chromedriver_linux64.zip’ saved [5306126/5306126] | |
(venv) dannyk@dannys-ubuntu:~ | |
$: unzip chromedriver_linux64.zip | |
Archive: chromedriver_linux64.zip | |
inflating: chromedriver | |
(venv) dannyk@dannys-ubuntu:~ | |
$: ls | |
chromedriver Desktop Downloads java_error_in_PYCHARM_15257.log network_restart.sh PycharmProjects Videos | |
chromedriver_linux64.zip dev examples.desktop java_error_in_PYCHARM_34103.log Pictures snap | |
core Documents hosts_backup Music Public Templates | |
(venv) dannyk@dannys-ubuntu:~ | |
$: ./chromedriver -v | |
ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) | |
(venv) dannyk@dannys-ubuntu:~ | |
$: sudo rm /usr/local/bin/chromedriver | |
(venv) dannyk@dannys-ubuntu:~ | |
$: sudo mv chromedriver /usr/local/bin/chromedriver | |
(venv) dannyk@dannys-ubuntu:~ | |
$: sudo chown root:root /usr/local/bin/chromedriver | |
(venv) dannyk@dannys-ubuntu:~ | |
$: sudo chmod +x /usr/local/bin/chromedriver | |
(venv) dannyk@dannys-ubuntu:~ | |
$: chromedriver -v | |
ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) | |
(venv) dannyk@dannys-ubuntu:~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment