Created
September 22, 2025 20:48
-
-
Save cgoldberg/4335261edc0dde2490a2d8b618c389ce to your computer and use it in GitHub Desktop.
Chrome for Testing - install Debian Linux system dependencies
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 | |
| # | |
| # 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