Posts Tagged ‘viber redhat’

Fedora Core: Installing Viber on your Fedora-based system

As many of you probably know, Viber has recently launched its official version for Linux systems.
Unfortunately it was released with a few limitations — not only there’s no 32-bit version (so forget about it for now if you’re on an i386 arch), but it was also developed for Ubuntu and its derivatives, such as Linux Mint, Zorin and other popular ones.

With that said, if you’re using one of the supported distros, there’s not much to it, just download the .deb and install it.
(click here for a full list of the distros where you should be able to install Viber without any tweaks)

If you’re using something else (like me — Fedora 20), a few commands will be necessary to make it work.
To install it on your Fedora (or Fedora-Derivative system), just run the following one-liner as root:

yum -y install icu libfdt libicu qt5-qtbase qt5-qtsvg qt5-gstreamer; mkdir /tmp/viberinstall; cd /tmp/viberinstall; wget http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb; ar -x viber.deb data.tar.gz; tar -xzf data.tar.gz; /usr/bin/cp -f ./usr/share/applications/viber.desktop /usr/share/applications/viber.desktop; /usr/bin/cp -f ./usr/share/pixmaps/viber.png /usr/share/pixmaps/viber.png; /usr/bin/cp -fR ./usr/share/viber /usr/share/viber; rm -f /usr/bin/viber; echo > /usr/bin/viber; echo -e ‘#!/bin/sh\nexport VIBER_HOME=”/usr/share/viber”\n\$VIBER_HOME/Viber –resources=$VIBER_HOME \$*’ > /usr/bin/viber; chmod 755 /usr/bin/viber; chmod 777 /usr/share/viber; cd /usr/share/viber; rm -fR /tmp/viberinstall

To run Viber, just type “viber” on a console (as your username, not as root of course).
Or, just look for it under “Applications” –> “Internet” from your application launcher as it should be there as well.

Oh, and before you ask — It will be installed to /usr/share/viber because that’s where it gets installed on Ubuntu derivatives by default. If you prefer to have it installed somewhere else, just modify the one-liner paths accordingly and edit your /usr/bin/viber file to make sure it points to the correct binary’s location.

Remember: This will only work on 64-bit systems!