Last active
August 29, 2015 14:13
-
-
Save bmaupin/109e22e2a4178566b224 to your computer and use it in GitHub Desktop.
Build Remmina master/stable branch on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The preferred way to install a newer version of Remmina is this PPA: | |
# sudo apt-add-repository -y ppa:remmina-ppa-team/remmina-next | |
# sudo apt-get update | |
# sudo apt-get install -y libfreerdp-plugins-standard remmina | |
# Kill any running instances of Remmina | |
killall remmina | |
# Remove old Remmina packages | |
sudo apt-get --purge remove freerdp-x11 \ | |
remmina remmina-common remmina-plugin-rdp remmina-plugin-vnc remmina-plugin-gnome \ | |
remmina-plugin-nx remmina-plugin-telepathy remmina-plugin-xdmcp | |
# Install dependencies | |
sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev \ | |
libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \ | |
libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libxi-dev libavutil-dev \ | |
libavcodec-dev libxtst-dev libgtk-3-dev libgcrypt11-dev libssh-dev libpulse-dev \ | |
libvte-2.90-dev libxkbfile-dev libtelepathy-glib-dev libjpeg-dev \ | |
libgnutls-dev libgnome-keyring-dev libavahi-ui-gtk3-dev libvncserver-dev \ | |
libappindicator3-dev intltool | |
# Build FreeRDP dependency | |
git clone https://github.com/FreeRDP/FreeRDP.git -b stable-1.1 | |
cd FreeRDP | |
cmake -DWITH_SSE2=ON -DWITH_CUPS=on -DWITH_WAYLAND=off -DWITH_PULSE=on . | |
make | |
sudo make install | |
cd .. | |
# Build Remmina | |
git clone https://github.com/FreeRDP/Remmina.git -b master | |
cd Remmina | |
cmake --build=build . | |
make | |
sudo make install | |
cd .. | |
# Update shared library cache | |
sudo sh -c 'echo "/usr/local/lib/x86_64-linux-gnu" >> /etc/ld.so.conf.d/x86_64-linux-gnu.conf' | |
sudo ldconfig | |
# To uninstall: | |
# sudo xargs rm < FreeRDP/install_manifest.txt | |
# sudo xargs rm < Remmina/install_manifest.txt | |
# sudo rmdir -p /usr/local/include/freerdp /usr/local/include/winpr /usr/local/lib/x86_64-linux-gnu/remmina/plugins | |
# sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment