How to install a specific version of chrome using command line in Linux?

7,051 views
Skip to first unread message

sico...@apps.disney.com

unread,
May 23, 2018, 12:35:11 PM5/23/18
to Chromium-dev
I am experiencing some issue on a server side rendering tool called Rendertron which uses Chrome to perform server sider rendering.

Recently we experience an issue that the rendering speed is super slow. After some digging we found that it's caused by the newest stable version of chrome (66).

This is how we install stable version of chrome in a Docker container.

apt-get update && apt-get install -y \
  wget \
  --no-install-recommends \
  && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update && apt-get install -y \
  google-chrome-stable \
  --no-install-recommends \
  && rm -rf /var/lib/apt/lists/*


I have tried the following to install 63 version

google-chrome-unstable=63.0.3239

google-chrome-stable=63.0.3239

google-chrome=63.0.3239

all are giving me Version '63.0.3239' for 'google-chrome-xxxx' was not found

I'd like to know what's the correct command to use to install chrome@63

Lei Zhang

unread,
May 23, 2018, 2:52:11 PM5/23/18
to sico...@apps.disney.com, Chromium-dev
I'm not sure if the apt-get syntax is correct, but it probably does
not matter, because dl.google.com likely only serves the latest
stable, and does not serve old versions, which usually have known
security bugs.

If you have an older .deb laying around somewhere, possibly inside
/var/cache/apt, and you are ok with potential security risks, maybe
use that as a quick workaround?

But instead of sticking with an old version forever, please consider
filing a bug on https://crbug.com/ to get your rendering issue fixed.
To prevent future regressions for affecting your production
environment, please consider running an instance with Chrome Beta or
Dev channel, so you can detect problems earlier.
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "Chromium-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/21ecb29b-686a-4ab3-943d-ab979111114e%40chromium.org.

sico...@apps.disney.com

unread,
May 23, 2018, 3:35:34 PM5/23/18
to Chromium-dev, sico...@apps.disney.com
Thanks for the advice.

This Chrome 66 super slow rendering speed only happens in Rendertron which uses headless chrome to perform server side rendering.
 
For regular user, it doesn't have such an issue.

Does this kind of issue fall in the scope of crbug.com?


To install an older version of Chrome, is it a good idea to utilize https://www.slimjet.com/chrome/google-chrome-old-version.php ?

The url above contains all the older version .deb

Lei Zhang

unread,
May 23, 2018, 5:40:39 PM5/23/18
to sico...@apps.disney.com, Chromium-dev
Yes, issues in headless mode are real bugs.

I do not visit random websites that claim to have Chrome for download.
In general, I would say it is not a good idea.
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "Chromium-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/13580ac4-1f0c-47dd-a8a1-b34fc342f258%40chromium.org.

sico...@apps.disney.com

unread,
May 23, 2018, 5:55:46 PM5/23/18
to Chromium-dev, sico...@apps.disney.com
The problem is that Google does not offer downloads for older versions of chrome.

And I am a mac user, I do not have 63 .deb file locally.

Do you know any official source I can get chrome 63?
Reply all
Reply to author
Forward
0 new messages