Forked from phith0n/chrome_install_headless.sh
Last active
February 21, 2020 15:29
-
-
Save aviatrix/1834e169f2f2797a2ed868d267bd5a9b to your computer and use it in GitHub Desktop.
Install Chrome headless on Ubuntu
This file contains 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
export CHROME_BIN=/usr/bin/google-chrome | |
export DISPLAY=:99.0 | |
sh -e /etc/init.d/xvfb start | |
sudo apt-get update | |
sudo apt-get install -y libappindicator1 fonts-liberation libasound2 libgconf-2-4 libnspr4 libxss1 libnss3 xdg-utils libappindicator3-1 libatk-bridge2.0-0 libatspi2.0-0 libgtk-3-0 libx11-xcb1 libxtst6 | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment