Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dezinezync/f347c8878e507bb69ccf91b562489b42 to your computer and use it in GitHub Desktop.
Save dezinezync/f347c8878e507bb69ccf91b562489b42 to your computer and use it in GitHub Desktop.
Install Chrome headless on Ubuntu
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
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