url="https://zoom.us/client/latest/zoom_amd64.deb" tmp_dir="$(mktemp -d)" trap 'rm -rf "$tmp_dir"' EXIT ( cd "$tmp_dir" wget "$url" sudo apt install "$(basename "$url")" )