Last active
May 19, 2025 18:33
-
-
Save hu553in/cc695b183b8160d5148973cd91ca39f1 to your computer and use it in GitHub Desktop.
How to download and install an old Chrome version (the Debian package)
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
#!/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 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/
Thanks 🙏
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
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.