IM.BSMLSEL / setup.sh
James MacQuillan
push
757f6e1
#!/bin/bash
# Update package lists
apt-get update
# Install necessary dependencies for Chrome and headless operation
apt-get install -y wget unzip xvfb libxi6 libgconf-2-4 \
libnss3 libxss1 libappindicator1 libindicator7 fonts-liberation \
libappindicator3-1 xdg-utils libatk-bridge2.0-0 libxrandr2 \
libgbm1 libgtk-3-0 libasound2 libatk1.0-0
# Download and install the latest Google Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt-get install -y ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
# Verify installation
google-chrome --version