Zoom (Application)

From campisano.org
Jump to navigation Jump to search

Zoom

Install

# shared/opt install schema v1.3.1
su -
#### as root ####
# dependencies
apt-get -qq -y install wget coreutils findutils
apt-get -qq -y install 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
SOFTWARE_PATH="/home/shared/opt/software"
NAME="zoom"
VERSION="5.2.458699.0906"
URL="https://d11yldzmag5yn.cloudfront.net/prod/${VERSION}/zoom_x86_64.tar.xz"
umask 0027
mkdir -p "${SOFTWARE_PATH}/tmp/${NAME}_${VERSION}"
cd "${SOFTWARE_PATH}/tmp"
wget -c --no-check-certificate "${URL}"
tar -xJf zoom_x86_64.tar.xz -C "${NAME}_${VERSION}"
cd "${SOFTWARE_PATH}"
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/${NAME}_${VERSION}" "${NAME}_${VERSION}"
rm -rf tmp
ln -s -f -T "${NAME}_${VERSION}" "${NAME}"
exit
#### as final user ####
SOFTWARE_PATH="/home/shared/opt/software"
NAME="zoom"
export LD_LIBRARY_PATH="${SOFTWARE_PATH}/${NAME}/zoom/:${LD_LIBRARY_PATH}"
nice -3 "${SOFTWARE_PATH}/${NAME}/zoom/ZoomLauncher"