
presently it only works on mint and ubuntu:
here is the link:
http://www.viber.com/products/linux/
Code: Select all
root@porteus:~/Viber# ./Viber.sh
./Viber.sh: line 13: /root/Viber/./Viber: cannot execute binary file
root@porteus:~/Viber#
Code: Select all
root@porteus:~/Downloads# src2pkg -CWD viber.deb
Notice - Creating src2pkg-helpers:
src2pkg uses a shared library and a few programs
when creating packages. For best compatibility,
these binaries will be compiled on your system.
They are then installed in a private directory.
When done, src2pkg is ready for use.
TEMP_DIR=/usr/src/src2pkg/builds/src2pkg-helpers
Starting build in 5 seconds
Unpacking sources - OK
Creating libsentry - OK
Creating tar-1.13 - OK
Creating coreutils - OK
Creating unionfs-fuse - OK
- Creating Slackware-type tgz package -
Slackware package maker, version 3.14159.
Searching for symbolic links:
usr/libexec/src2pkg/bin/install -> ginstall
Making symbolic link creation script:
( cd usr/libexec/src2pkg/bin ; rm -rf install )
( cd usr/libexec/src2pkg/bin ; ln -sf ginstall install )
Unless your existing installation script already contains the code
to create these links, you should append these lines to your existing
install script. Now's your chance. :^)
Would you like to add this stuff to the existing install script and
remove the symbolic links ([y]es, [n]o)? n
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /usr/src/src2pkg/src2pkg-helpers/src2pkg-helpers-1.6-x86_64-1.tgz
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/doc/
usr/doc/src2pkg-helpers-1.6/
usr/doc/src2pkg-helpers-1.6/README
usr/libexec/
usr/libexec/src2pkg/
usr/libexec/src2pkg/bin/
usr/libexec/src2pkg/bin/unionfs-fuse
usr/libexec/src2pkg/bin/install
usr/libexec/src2pkg/bin/unlink
usr/libexec/src2pkg/bin/rmdir
usr/libexec/src2pkg/bin/rm
usr/libexec/src2pkg/bin/readlink
usr/libexec/src2pkg/bin/mv
usr/libexec/src2pkg/bin/mknod
usr/libexec/src2pkg/bin/mkdir
usr/libexec/src2pkg/bin/ln
usr/libexec/src2pkg/bin/link
usr/libexec/src2pkg/bin/ginstall
usr/libexec/src2pkg/bin/cp
usr/libexec/src2pkg/bin/chown
usr/libexec/src2pkg/bin/chmod
usr/libexec/src2pkg/bin/cat
usr/libexec/src2pkg/bin/tar-1.13
usr/libexec/src2pkg/bin/version
usr/libexec/src2pkg/lib/
usr/libexec/src2pkg/lib/libsentry.so
Slackware package /usr/src/src2pkg/src2pkg-helpers/src2pkg-helpers-1.6-x86_64-1.tgz created.
Done
Notice - The finished package: src2pkg-helpers-1.6-x86_64-1.tgz
is located in: /usr/src/src2pkg/src2pkg-helpers
- Installing Slackware-type tgz package -
+==============================================================================
| Installing new package /usr/src/src2pkg/src2pkg-helpers/src2pkg-helpers-1.6-x86_64-1.tgz
+==============================================================================
Verifying package src2pkg-helpers-1.6-x86_64-1.tgz.
Installing package src2pkg-helpers-1.6-x86_64-1.tgz:
PACKAGE DESCRIPTION:
# src2pkg-helpers Binaries and Libs used by src2pkg
#
# This package contains the libraries and binary programs used
# by src2pkg for building packages. This package is built and
# installed by src2pkg itself when it is run the first time or
# when run with the command 'src2pkg --setup'. These programs are
# compiled on your system to insure compatibility with your
# kernel and glibc versions and machine architecture. The sources
# for src2pkg-helpers are part of the src2pkg package itself.
#
# Packaged by Gilbert Ashley <amigo@ibiblio.org>
Executing install script for src2pkg-helpers-1.6-x86_64-1.tgz.
Package src2pkg-helpers-1.6-x86_64-1.tgz installed.
Done src2pkg is now ready to use.
Found source archive: viber.deb
Creating working directories:
PKG_DIR=/root/Downloads/viber-viber-viber-1
SRC_DIR=/root/Downloads/viber-viber-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipped configure_source -
Found Debian binary content -
Checking contents - Done!
Notice - No documents were found in the content. Creating default README
Copying contents to PKG_DIR - Done!
Skipping fake_install -
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping shared libraries - Using: strip -p --strip-unneeded Done
Checking for standard documents - Done
Found 'viber.png' in SRC_DIR - Copying to PKG_DIR/ICONS_DIR/hicolor/48x48/apps
Creating slack-desc - From default text
Rechecking package correctness:
Checking for misplaced dirs - Done
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Searching for links in: viber-viber-viber-1 - Done
Adding links to doinst.sh - Adding links-creation to the doinst.sh
Found .desktop files - Adding 'update-desktop-database' routine to doinst.sh
Deleting symbolic links - Removing links from the package directory
Package dependencies:
/lib64/libc.so.6
/lib64/libdl.so.2
/lib64/libm.so.6
/lib64/libpthread.so.0
/lib64/librt.so.1
/lib64/libz.so.1
/usr/lib/libfontconfig.so.1
/usr/lib/libfreetype.so.6
/usr/lib64/libGL.so.1
/usr/lib64/libX11-xcb.so.1
/usr/lib64/libX11.so.6
/usr/lib64/libXcomposite.so.1
/usr/lib64/libXext.so.6
/usr/lib64/libXi.so.6
/usr/lib64/libXrender.so.1
/usr/lib64/libXss.so.1
/usr/lib64/libgcc_s.so.1
/usr/lib64/libglib-2.0.so.0
/usr/lib64/libgobject-2.0.so.0
/usr/lib64/libsqlite3.so.0
/usr/lib64/libstdc++.so.6
/usr/lib64/libxcb.so.1
/usr/lib64/libxml2.so.2
/usr/lib64/libxslt.so.1
libQt5Core.so.5 not found
libQt5DBus.so.5 not found
libQt5Gui.so.5 not found
libQt5Network.so.5 not found
libQt5OpenGL.so.5 not found
libQt5PrintSupport.so.5 not found
libQt5Qml.so.5 not found
libQt5Quick.so.5 not found
libQt5Sql.so.5 not found
libQt5Svg.so.5 not found
libQt5V8.so.5 not found
libQt5WebKit.so.5 not found
libQt5WebKitWidgets.so.5 not found
libQt5Widgets.so.5 not found
libbfd-2.22-system.so not found
libicudata.so.48 not found
libicui18n.so.48 not found
libicuuc.so.48 not found
Creating package: viber-viber-viber-1.txz - Done
Package Creation - Successful! Package Location:
/root/Downloads/viber-viber-viber-1.txz
root@porteus:~/Downloads#
Code: Select all
If you are running 32bit system use
wget -O viber64-NoobsLab.com.deb http://goo.gl/wCKnDV
sudo dpkg --force-architecture -i viber64-NoobsLab.com.deb
But I really do not know how to figure it out? do we have such a compatlib for 32 bit machines too?If you are running 32bit system use
sudo dpkg --force-architecture -i viber.deb