Viber has packaged a deb for Ubuntu and rpm for Fedora, 64-bit only, iianm.
I tried urpmi on the rpm but
- Code: Select all
A requested package cannot be installed:
viber-7.0.0.1035-2.x86_64 (due to unsatisfied libssl.so.10()(64bit))
Google revealed a somewhat aged howto from opensuse for extracting the pertinent parts of the deb to disk with a handy script, Generic Installation Method
Since the current deb uses a different compression for the data archive, I needed to edit the file name and switches to tar in that script to get it to succeed:
- Code: Select all
#! /bin/sh
TMPDIR=/tmp/viber
DEBFILE=${1/\/*\//}
if [ ! -r $1 ]; then
echo "Usage: $0 <viber DEB distribution file>"
exit 1;
fi
mkdir $TMPDIR > /dev/null 2>&1
if [ -d $TMPDIR ]; then
cp $1 $TMPDIR
echo -n 'Extracting DEB file contents...'
cd $TMPDIR && ar x $DEBFILE
echo 'done.'
echo -n 'Installing Viber files...'
cd / && tar xf ${TMPDIR}/data.tar.xz
echo 'done.'
echo -n 'Cleaning up...'
rm -rf $TMPDIR
echo 'finished.'
else
echo "Can't create temporary directory ${TMPDIR}!"
exit 1;
fi
First, I was a little worried about fouling up my system running this script as root, comparable to --force with rpm, but I just did it. Early days but system is still working and this desktop Viber seems very nice. The program is at /opt/viber/Viber and I created a menu entry with the KDE application menu editor. So far, so good.