1. 크롬 설치하기

$ sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
$ sudo echo "deb [arch=amd64]  http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
$ sudo apt-get -y update
$ sudo apt-get -y install google-chrome-stable
$ google-chrome --version
Google Chrome 79.0.3945.117

2. 크롬 드라이버 설치하기

  1. 구글 크롬의 버젼을 확인하기
    #chrome://version
    google-chrome --version
    
  2. Chrome Driver 에서 버젼에 맞는 ChromeDriver 다운로드
$ wget https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
$ unzip chromedriver_linux64.zip
$ sudo mv chromedriver /usr/bin/chromedriver
$ sudo chown root:root /usr/bin/chromedriver
$ sudo chmod +x /usr/bin/chromedriver

참고자료