Application zoom

From campisano.org
Jump to navigation Jump to search

Zoom

Install

shared/opt install schema v1.2

su -
#### as root
# dependencies
apt-get install curl tar xz-utils binutils libglib2.0-0 libxcb-shape0 libxcb-shm0 libxcb-xfixes0 libxcb-randr0 libxcb-image0 libfontconfig1 libgl1-mesa-glx libegl1-mesa libxi6 libsm6 libxrender1 libpulse0 libxcomposite1 libxslt1.1 libsqlite3-0 libxcb-keysyms1 libxcb-xtest0 libdbus-1-3 libxtst6 ibus
# binary
DESTINATION="/home/shared/opt/software"                 # Edit when needed
VERSION="5.0.399860.0429"                               # Edit when needed]
URL="https://d11yldzmag5yn.cloudfront.net/prod/${VERSION}/zoom_x86_64.tar.xz"
umask 0027
mkdir -p "${DESTINATION}/tmp"
cd "${DESTINATION}/tmp"
curl -C - -kLO "${URL}"
tar -xJf zoom_x86_64.tar.xz
cd "${DESTINATION}"
chown -R root:users "tmp"
find "tmp" -type d -exec chmod a-s,u+rwx,g+rx,g-w,o-rwx {} \;
find "tmp" -type f -exec chmod a-s,u+rw,g+r,g-w,o-rwx {} \;
mv "tmp/zoom" "zoom_${VERSION}_x86_64"
rm -rf tmp zoom
ln -s "zoom_${VERSION}_x86_64" zoom
exit
#### as final user
SOFTWARE_PATH="/home/shared/opt/software"               # Edit when needed
export LD_LIBRARY_PATH="${SOFTWARE_PATH}/zoom/:${LD_LIBRARY_PATH}"
nice -1 "${SOFTWARE_PATH}/zoom/ZoomLauncher"