User Tools

Site Tools


auto_update_zoom_in_linux

Auto Update Zoom in Linux

This script sets up a local repository for the Zoom Video Client;

Setup_Local_Zoom_Repo
#!/usr/bin/env bash
 
# If you have Zoom installed, it might be safer to uninstall first.
 
# This creates folders and downloads Zoom there, and uses apt-ftparchive
# to get the release number and determine if a new version needs to be
# downloaded again.
 
url=https://zoom.us/client/latest/zoom_amd64.deb
debdir=/usr/local/zoomdebs
aptconf=/etc/apt/apt.conf.d/100update_zoom
sourcelist=/etc/apt/sources.list.d/zoomdebs.list
 
sudo mkdir -p $debdir
( echo 'APT::Update::Pre-Invoke {"cd '$debdir' && wget -qN '$url' && apt-ftparchive packages . > Packages && apt-ftparchive release . > Release";};' | sudo tee $aptconf
  echo 'deb [trusted=yes lang=none] file:'$debdir' ./' | sudo tee $sourcelist
) >/dev/null

Now, you can update the newly created package repository and install with;

sudo apt update
sudo apt install zoom

Zoom will stay up-to-date with the rest of the system from now on.

auto_update_zoom_in_linux.txt · Last modified: by steve