Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing geckodriver only using terminal

I am using a headless ubuntu, and want to install latest geckodriver. So I must install by entering a command line. my ubuntu is 14.04 trusty.

But, I don't know the command to install geckodriver. https://github.com/mozilla/geckodriver/

and here are many versions of geckodriver. https://github.com/mozilla/geckodriver/releases I guess I have to download linux32.tar.gz one.

Do I have to include the url of github to write a installing command line?

like image 612
heyzude Avatar asked Dec 05 '22 16:12

heyzude


1 Answers

Step1 : Download Gecko Driver

wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz

Step2: Unzip tar file

sudo tar -xvf geckodriver-v0.26.0-linux64.tar.gz

Step3: Move Gecko Driver to Binary Location

sudo mv geckodriver /usr/local/bin/

Step4: Change Current Directory to Binary Location

cd /usr/local/bin/

Step5: Make Executable Permission to 'geckodriver'

sudo chmod +x geckodriver

Gecko Driver Setup Successfull

like image 147
Littin Rajan Avatar answered Jan 22 '23 18:01

Littin Rajan