Google Chrome paquete deb/rpm

Lista de releases

https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable

FUENTE

https://unix.stackexchange.com/questions/233185/install-older-versions-of-google-chrome-stable-on-ubuntu-14-10

Link generico

https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-${CHROME_VERSION}.x86_64.rpm

Links oficiales de Google de ejemplo

https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_111.0.5563.146-1_amd64.deb
https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_103.0.5060.53-1_amd64.deb
https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_116.0.5845.140-1_amd64.deb
https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_117.0.5938.92-1_amd64.deb
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-103.0.5060.134-1.x86_64.rpm
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-106.0.5249.103-1.x86_64.rpm
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-111.0.5563.146-1.x86_64.rpm
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-116.0.5845.140-1.x86_64.rpm
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-117.0.5938.92-1.x86_64.rpm

Silenciado actualización

Parametro para silenciado

--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"
  • Se puede agregar en los accesos directos .desktop de /usr/share/applications/google-chrome.desktop en las 3 lineas ^Exec
  • O más fácil editando /opt/google/chrome/google-chrome en la última linea
exec -a "$0" "$HERE/chrome" --disable-popup-blocking --simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT" "$@"

Preparación de paquete silenciado para distribuir

DESCARGAMOS Y DECOMPILAMOS EL PAQUETE (DEB)

TARGET=google-chrome-stable-$(date +%Y%m%d)_amd64
wget -qO ${TARGET}.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -x ${TARGET}.deb ${TARGET}
dpkg -e ${TARGET}.deb ${TARGET}/DEBIAN

ACA AGREGAMOS LOS PARÁMETROS QUE SE NECESITEN

vi ${TARGET}/opt/google/chrome/google-chrome

NOS ASEGURAMOS QUE NO EXISTA UN REPOSITORIO Y LO COMPILAMOS

echo "if [ -f /etc/apt/sources.list.d/google-chrome.list ] ;
      then rm /etc/apt/sources.list.d/google-chrome.list; fi" >> ${TARGET}/DEBIAN/postinst
dpkg -b ${TARGET} ${TARGET}_silenciado_amd64.deb

DESCARGAMOS Y DECOMPILAMOS EL PAQUETE (RPM)

TARGET=google-chrome-stable_$(date +%Y%m%d)_x86_64
wget -qO ${TARGET}.rpm https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Policies / Policy / Políticas

Sugerencias y lineamientos

  • Los JSON no soportan oficialmente comentarios, no agregar // ni # dentro de ellos. (a pesar que ande mejor prevenirlo)
  • Se arma dentro de dos llaves { }
  • Cada variable se coloca entre comillas dobles y luego dos puntos “VARIABLE”:
  • Los valores si son números o booleanas tipo true y false van sin nada al rededor.
  • Los valores alfanuméricos, como urls van entre comillas dobles “https://*.google.com/*”
  • Si existen varios valores por variable se debe envolver todo entre corchetes [] y deparar los campos con una coma.
    [ “https://*.google.com/*” ,”https://*.vicentech.com.ar/*” ]
  • Para ver que politicas toma el chrome del JSON
    chrome://policy
  • Donde deberíamos poner el JSON, puede llamarse diferente en algunos casos
    /etc/opt/chrome/policies/managed/policy-bbva.json

Políticas con sus explicaciones

Scroll al inicio