Tom Ordonez

Data Science, Machine Learning, Growing Teams

Install Chromedriver in Linux


This is a short tutorial to install Chromedriver in Linux.

Based on this git about installing Chromedriver in Linux Fedora. And setting up the correct file location in your Python scripts.

This is the directory where to download Chromedriver.

$ wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
$ unzip chromedriver_linux64_2.3.zip
$ sudo cp chromedriver /usr/bin/chromedriver
$ sudo chown root /usr/bin/chromedriver
$ sudo chmod +x /usr/bin/chromedriver
$ sudo chmod 755 /usr/bin/chromedriver

Then setup Chromedriver using the right location.

driver = webdriver.Chrome('/usr/bin/chromedriver')