Skip to content

Instantly share code, notes, and snippets.

@cgoldberg
Created September 22, 2025 20:48
Show Gist options
  • Save cgoldberg/4335261edc0dde2490a2d8b618c389ce to your computer and use it in GitHub Desktop.
Save cgoldberg/4335261edc0dde2490a2d8b618c389ce to your computer and use it in GitHub Desktop.
Chrome for Testing - install Debian Linux system dependencies
#!/usr/bin/env bash
#
# Chrome for Testing - install Debian Linux system dependencies
# - visit the CfT Dashboard: https://googlechromelabs.github.io/chrome-for-testing
# - download 'chrome-linux64.zip' for the version you need
# - unzip it and run this script
deps_file="chrome-linux64/deb.deps"
if [ "${EUID}" -ne 0 ]; then
echo "this script must be run as root"
exit 1
fi
if [ ! -f "${deps_file}" ]; then
echo "can't find ${deps_file}"
exit 1
fi
apt-get update
while read pkg; do
echo
echo "installing: ${pkg}"
apt-get satisfy -y --no-install-recommends "${pkg}"
done < "${deps_file}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment