I'm using Ubuntu 19.04. I'm aware of the question Ubuntu 18.04 Unable to install Viber, but when I try to install via
sudo dpkg -i viber.deb
I get this:
Selecting previously unselected package viber.
(Reading database ... 206700 files and directories currently installed.)
Preparing to unpack viber.deb ...
Unpacking viber (10.3.0.37) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libssl1.0.0; however:
Package libssl1.0.0 is not installed.
dpkg: error processing package viber (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber
I have tried the Viber Unofficial snap, but I ran into the huge screen rez and I don't know how to fix that either.
for all the people out there who do not like to install the flatpak version and want to stick to the deb version, there is another way: since new versions of Ubuntu are shipped with
libssl1.1
or have this package in their repositories,viber.deb
can be tinkered to statelibssl1.1
as a dependency.I cannot guarantee 100% that all dependencies are met, but retro-compatibility should function. I have also applied this method and so far I do not have any problem on Xubuntu 19.10.
Here is a short walkthrough:
Ensure that
libssl1.1
is installed:Note: if a newer version of
libssl
is available, this should be used further on on step 4.Download
viber.deb
from the Viber webpage and copy it to a temp folder. I have used/home/<user>/temp
for this.Now we need to make some changes to the package, following this guide.
Line by line this does the following:
viber
.viber.deb
.control.tar.gz
.Now we need to change dependencies:
control
file with a text editor.Change on line 6:
libssl1.0.0
tolibssl1.1
.Note: in case of newer version of
libssl
use the new version (see step 1!).Repackage the
.deb
file.Install the new deb:
Voila!
Viber installation on Ubuntu 19.04, 19.10, 20.04
Download libssl1.0.0 deb package from here and install it before installing viber (18.04 repository still contains it).
You could install this package by executing the next commands:
Go to folder with viber (
cd ~/Downloads
, for example) and install viber:Run the next command if viber depends on some other packages that have not been installed on your system yet:
If you've encountered some viber launching issues (viber starts and crashes), then try to change display manager (to gdm3, for example):
Viber's Flatpak solves the issue:
To Install:
To Run:
The only way I found working for Ubuntu is here: https://linuxconfig.org/how-to-install-viber-on-ubuntu-20-04-focal-fossa-linux
This installs the official Viber.
BUT make sure to fix the package version from 6.2 to 5.3!
Here the fixed commands:
There is an option to download viber.AppImage from viber.com. Just download it, make it executable and run it. It is kind of workaround because it does not make any installation, but it works with 20.04. No installation, no dependencies.