Skip to content

Instantly share code, notes, and snippets.

@sionc
Last active March 6, 2017 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sionc/5597545 to your computer and use it in GitHub Desktop.
Save sionc/5597545 to your computer and use it in GitHub Desktop.
Installing dependencies for Guacamole
Installing dependencies
----------------------------
The following steps need to be performed only once in order to install dependencies:
Cairo is a 2D graphics library with support for multiple output devices.
$ sudo apt-get install libcairo2-dev
libtool
$ sudo apt-get install libtool
automake
$ sudo apt-get install automake
autoconf is used for generating configure files from configure.in
$ sudo apt-get install autoconf
Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.
$ sudo apt-get install tomcat6
LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
$ sudo apt-get install libvncserver0
You need the following to help libguac-vnc-client locate rfbInitClient while performing a ./configure
$ sudo apt-get install libvncserver-dev
libfreerdp1 provides RDP support.
$ sudo apt-get install libfreerdp1
libvorbisenc2 provides support for Ogg Vorbis encoding. It is used by libguac-client-rdp to provide sound to browsers supporting Ogg Vorbis audio. [Edit: This dependency is needed for libguac-client-vnc as well for audio support]
$ sudo apt-get install libvorbisenc2
libvorbis-dev prvides the dev libs to actually use lib vorbis
$ sudo apt-get install libvorbis-dev
Java is needed to build the web application. Download the latest JDK from the Oracle’s download page.
Extract the files and put them into /usr/lib/jvm/. If you have extracted them somewhere else then use sudo cp. Make sure to use your own version of the jdk:
$ sudo cp -R jdk1.7.0_11 /usr/lib/jvm/
Add JAVA_HOME environment variable by editing ~/.bashrc
$ sudo gedit ~/.bashrc
Add the following line to the file
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_11
Close the terminal window. Reopen it and type
$ echo $JAVA_HOME
Maven is needed to build the web application
$ sudo apt-get install maven
Install development libraries for Pulse Audio
$ sudo apt-get install libpulse-dev
Install libvorbis
$ sudo apt-get install build-essential
$ sudo apt-get build-dep libvorbis libvorbis-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment