-
-
Save pythoninthegrass/89fc0707c94d7d251eb8199e13cad93c to your computer and use it in GitHub Desktop.
Install chromedriver on fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
logged_in_user=$(logname) | |
cd "/home/$logged_in_user/Downloads" | |
url='https://chromedriver.storage.googleapis.com/80.0.3987.16/chromedriver_linux64.zip' | |
curl -LJO "$url" | |
unzip chromedriver_linux64.zip | |
sudo mv chromedriver /usr/bin/chromedriver | |
sudo chown root /usr/bin/chromedriver | |
sudo chmod +x /usr/bin/chromedriver | |
sudo chmod 755 /usr/bin/chromedriver | |
rm chromedriver_linux64.zip | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment