Skip to content

Instantly share code, notes, and snippets.

@hu553in
Last active May 19, 2025 18:33
Show Gist options
  • Save hu553in/cc695b183b8160d5148973cd91ca39f1 to your computer and use it in GitHub Desktop.
Save hu553in/cc695b183b8160d5148973cd91ca39f1 to your computer and use it in GitHub Desktop.
How to download and install an old Chrome version (the Debian package)
#!/bin/bash
# required Chrome version can be found here:
# https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
CHROME_VERSION=""
wget --no-check-certificate \
https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb || apt-get -fqy install
rm -rf google-chrome-stable_${CHROME_VERSION}_amd64.deb
@royfrancis
Copy link

royfrancis commented Oct 22, 2024

What is an example of a version that works? I have a tried a few versions and they don't seem to exist. Perhaps, I am doing something wrong.

@hu553in
Copy link
Author

hu553in commented Oct 22, 2024

@royfrancis by some reason all links return 404.
You can try to download from here (some archive) - https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/

@hu553in
Copy link
Author

hu553in commented Oct 22, 2024

@royfrancis
Copy link

Thanks 🙏

@aqt
Copy link

aqt commented Mar 14, 2025

The URL seems to be missing part of the filename. With this change it worked for the version I needed:

-google-chrome-stable_${CHROME_VERSION}_amd64.deb
+google-chrome-stable_${CHROME_VERSION}-1_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment