Update ZOOM at xubuntu 20.04 focal fossa [duplicate]
Solution 1:
You don't need to uninstall it. You can run the following sequence of commands in the terminal:
wget -nv -O "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb 'https://us02web.zoom.us/client/latest/zoom_amd64.deb'
sudo dpkg --skip-same-version -i "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb
rm -f "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb
Description:
- The first command download the .deb file in your Download folder.
- The second one install it if the new version is different than the current one.
- The last command remove the downloaded deb file.
If you want to speed up or periodically check the presence of updates, you can open your ~/.bashrc
file (for example, using gedit ~/.bashrc
command) and then add the following lines:
# zoom update
if [ -n "$(command -v zoom)" ]; then
zoom-update() {
echo "Checking new version availability..."
wget -nv -O "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb 'https://us02web.zoom.us/client/latest/zoom_amd64.deb' &> /dev/null
sudo dpkg --skip-same-version -i "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb
rm -f "$(xdg-user-dir DOWNLOAD)"/zoom_amd64.deb
}
fi
In this way, you have created a function called zoom-update
that performs all the tasks. From this moment, you can simply run the command zoom-update
from the terminal.
To make the function work, close and repen the terminal, or run the command source ~/.bashrc