Posted over 5 years ago. Visible to the public.

Install Chromedriver on Linux

Option 1: Download from the official page (preferred)

  1. Visit
  2. Download and extract (e.g. to ~/bin/ or /usr/local/share/)
  3. Remember to sudo chmod +x chromedriver

The geordi gem automates this process. Run geordi chromedriver-update to install or update chromedriver.

Chromedriver must be available in your path. You can add ~/bin to your path like this:

echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile

Option 2: Use apt source

Install via

apt install chromium-chromedriver

The issue with this method is that after a chrome update, the chromedriver package sometimes lags behind and is not compatible.

Option 3: Install via npm

There's a handy npm package.

sudo npm -g install chromedriver ln -sf /usr/lib/node_modules/chromedriver/lib/chromedriver/chromedriver ~/bin/chromedriver

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Thomas Klemm
Last edit:
21 days ago
by Niklas Hasselmeyer
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Thomas Klemm to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more