Hello,
After installing Chrome browser from its website (64-bit.deb), how do I update it in the future? Firefox variants do the update automatically but Chromes.
Very much appreciated.
How to Update Chrome Browser?
Moderator: Forum moderators
How to Update Chrome Browser?
-
- Posts: 698
- Joined: Fri Dec 13, 2019 6:26 pm
- Has thanked: 489 times
- Been thanked: 204 times
Re: How to Update Chrome Browser
Please tell us the exact version of puppy you are using.
If you installed it from the .deb, you can either hook your Puppy up to the Google Repository (very hard in older versions of puppy, probably easier now but someone else will have to tell you how) or you can just redownload the .deb file and reinstall it whenever you want to update. It is always the latest version.
Re: How to Update Chrome Browser
dancytron wrote: ↑Sun May 23, 2021 11:46 pmPlease tell us the exact version of puppy you are using.
If you installed it from the .deb, you can either hook your Puppy up to the Google Repository (very hard in older versions of puppy, probably easier now but someone else will have to tell you how) or you can just redownload the .deb file and reinstall it whenever you want to update. It is always the latest version.
Dancytron,
Thank you for your reply. It is very much appreciated.
I am running fossapup64.
Manual re-installation is fine, but uninstalling the older version prior to that is not very inspiring.
Is there any way to make a silent, auto, or unattended update for the browser?
Thanks again!
-
- Posts: 698
- Joined: Fri Dec 13, 2019 6:26 pm
- Has thanked: 489 times
- Been thanked: 204 times
Re: How to Update Chrome Browser
You don't have to uninstall the old version. Just install the new version on top of it.
The other choice is to hook your Puppy Program Manager (PPM) up to the Google Repo and upgrade it exactly like any other package in the Fossa repo. Someone else will be by to explain how that's done.
Re: How to Update Chrome Browser
dancytron wrote: ↑Mon May 24, 2021 12:28 amYou don't have to uninstall the old version. Just install the new version on top of it.
The other choice is to hook your Puppy Program Manager (PPM) up to the Google Repo and upgrade it exactly like any other package in the Fossa repo. Someone else will be by to explain how that's done.
Chrome browser won't install until the older version is taken off.
-
- Posts: 698
- Joined: Fri Dec 13, 2019 6:26 pm
- Has thanked: 489 times
- Been thanked: 204 times
Re: How to Update Chrome Browser
Okay. That surprises me. I've done it on older versions of Puppy.
TBH, I answered because I know a lot about Chrome even though I don't know a lot about the latest Puppies.
Someone will be by to tell you have to integrate the Google Chrome repository.
Re: How to Update Chrome Browser
This is the clue from google but dunno how to "translate" it in fossapup64 ...
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: How to Update Chrome Browser
here's script to download/update google chrome
Code: Select all
#!/bin/sh
echo `google-chrome-stable --version` > /tmp/chroverold
oldversion=`cat /tmp/chroverold`
cd /
urxvt -e wget http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
yaf-splash -wrap false -bg lightgreen -border false -margin 0 -fg black -placement top -timeout 3 -text " installing "
dpkg-deb -x /google-chrome-stable_current_amd64.deb /
rm /google-chrome-stable_current_amd64.deb
rm /opt/google/chrome/google-chrome.bin
mv /opt/google/chrome/google-chrome /opt/google/chrome/google-chrome.bin
echo '#!/bin/sh
APP='/opt/google/chrome/google-chrome.bin'
#script to run $APP as spot...
ARGS=""
[ "$1" ] && while [ "$1" ]; do ARGS="$ARGS \"$1\""; shift; done
if [ $(id -u) -eq 0 ]; then
[ $XAUTHORITY ] && cp $XAUTHORITY /root/spot/.Xauthority 2>/dev/null
touch /root/spot/.Xauthority
#following line is mostly there to catch any root:root files that may have got copied in...
find /root/spot \( -not -user spot -or -not -group spot \) -exec chown -h spot:spot {} \; &
export XAUTHORITY=/root/spot/.Xauthority
export XDG_CONFIG_HOME=/root/spot/.config
export XDG_CACHE_HOME=/root/spot/.cache
export XDG_DATA_HOME=/root/spot/.local/share
exec su spot -s /bin/sh -c "\"$APP\" $ARGS"
else #precaution
exec "$APP" "$ARGS"
fi' > /opt/google/chrome/google-chrome
chmod 755 /opt/google/chrome/google-chrome
echo '[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Google Chrome web browser
GenericName=Google Chrome
Comment=Google Chrome web browser
Exec=google-chrome-stable
Terminal=false
Type=Application
Icon=/opt/google/chrome/product_logo_128.png
Categories=WebBrowser;' > /usr/share/applications/google-chrome.desktop
chmod 755 /initrd/pup_rw
fixmenus
jwm -restart
echo `google-chrome-stable --version` > /tmp/chrover
version=`cat /tmp/chrover`
yaf-splash -wrap false -bg lightgreen -border false -margin 0 -fg black -placement top -text " $oldversion Updated to $version "
fossapup64 viewtopic.php?f=40&t=88
Re: How to Update Chrome Browser
666philb wrote: ↑Tue May 25, 2021 10:39 amhere's script to download/update google chrome
Code: Select all
#!/bin/sh echo `google-chrome-stable --version` > /tmp/chroverold oldversion=`cat /tmp/chroverold` cd / urxvt -e wget http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb yaf-splash -wrap false -bg lightgreen -border false -margin 0 -fg black -placement top -timeout 3 -text " installing " dpkg-deb -x /google-chrome-stable_current_amd64.deb / rm /google-chrome-stable_current_amd64.deb rm /opt/google/chrome/google-chrome.bin mv /opt/google/chrome/google-chrome /opt/google/chrome/google-chrome.bin echo '#!/bin/sh APP='/opt/google/chrome/google-chrome.bin' #script to run $APP as spot... ARGS="" [ "$1" ] && while [ "$1" ]; do ARGS="$ARGS \"$1\""; shift; done if [ $(id -u) -eq 0 ]; then [ $XAUTHORITY ] && cp $XAUTHORITY /root/spot/.Xauthority 2>/dev/null touch /root/spot/.Xauthority #following line is mostly there to catch any root:root files that may have got copied in... find /root/spot \( -not -user spot -or -not -group spot \) -exec chown -h spot:spot {} \; & export XAUTHORITY=/root/spot/.Xauthority export XDG_CONFIG_HOME=/root/spot/.config export XDG_CACHE_HOME=/root/spot/.cache export XDG_DATA_HOME=/root/spot/.local/share exec su spot -s /bin/sh -c "\"$APP\" $ARGS" else #precaution exec "$APP" "$ARGS" fi' > /opt/google/chrome/google-chrome chmod 755 /opt/google/chrome/google-chrome echo '[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Google Chrome web browser GenericName=Google Chrome Comment=Google Chrome web browser Exec=google-chrome-stable Terminal=false Type=Application Icon=/opt/google/chrome/product_logo_128.png Categories=WebBrowser;' > /usr/share/applications/google-chrome.desktop chmod 755 /initrd/pup_rw fixmenus jwm -restart echo `google-chrome-stable --version` > /tmp/chrover version=`cat /tmp/chrover` yaf-splash -wrap false -bg lightgreen -border false -margin 0 -fg black -placement top -text " $oldversion Updated to $version "
JWtDO (Just What the Doctor Ordered).
Very much appreciated, Phil!
Re: How to Update Chrome Browser?
Great script - just found it and updated my Chrome without the usual hassle
Is it possible to make one for Vivaldi too?