How To Install Chromedriver on Ubuntu 20.04 without snap

Published on 27 November 2020 12:00 AM
This post thumbnail
  1. Update and install dependencies
sudo apt update -y && sudo apt-get install -y libxss1 libappindicator1 libindicator7 xvfb unzip
  1. Download chromedriver, unzip and make it executable Google Chromium Site
wget https://chromedriver.storage.googleapis.com/87.0.4280.20/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x chromedriver
  1. Move chromedriver excutable and create symlinks
sudo mv -f chromedriver /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver