1
0
mirror of https://git.koehlerweb.org/frodovdr/guac-install synced 2025-07-06 18:43:32 +02:00

Debian support (#9)

* Debian Dependencies

* Debian Support

* Fixed Order to reflect guac manual

* Debian Support

Fixes Issue #8
This commit is contained in:
Chase Wright
2017-07-29 14:33:15 -05:00
committed by GitHub
parent fd169f2647
commit ea91e025fd
3 changed files with 21 additions and 5 deletions

View File

@ -2,16 +2,24 @@
VERSION="0.9.12"
# Ubuntu and Debian have different names of the libjpeg-turbo library for some reason...
if [ `egrep -c "ID=ubuntu" /etc/os-release` -gt 0 ]
then
JPEGTURBO="libjpeg-turbo8-dev"
else
JPEGTURBO="libjpeg62-turbo-dev"
fi
# Install Server Features
apt-get update
apt-get -y install build-essential libcairo2-dev libjpeg-turbo8-dev libpng12-dev libossp-uuid-dev libavcodec-dev libavutil-dev \
apt-get -y install build-essential libcairo2-dev $JPEGTURBO libpng12-dev libossp-uuid-dev libavcodec-dev libavutil-dev \
libswscale-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev \
libvorbis-dev libwebp-dev jq curl wget
# If Apt-Get fails to run completely the rest of this isn't going to work...
if [ $? != 0 ]
then
echo "apt-get failed to install all required dependencies. Are you on Ubuntu 16.04 LTS?"
echo "apt-get failed to install all required dependencies."
exit
fi