I really want to use the latest Ubuntu 22.04 LTS, BUT when i tried to install the Viber, The viber won't work and it says "No Connection" even I have an internet connection:

Viber No Connection ScreenShot

Hope anyone can help. thank you!

I install this: https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb

  • Looking at the supported platforms notes, it looks like the installation file may be targeted to work with specific libraries. Are there any error messages in /var/log/syslog (or elsewhere in /var/log) that might point to the issue?
    – matigo
    Apr 20 at 10:06
  • Hi @matigo Thank you so much for your response here. I really appreciate it. I checked the supported platforms, and it seems that my system is supported "Linux Fedora and Ubuntu (64 bit)" I'm using 64bit. While checking the /var/log/syslog and doing tail -f /var/log/syslog while opening the Viber app, there is no logs on syslog mmmh.. what specific logs name do you mean on elsewhere in /var/log ?
    – Rey Mark
    Apr 20 at 10:17
  • 1
    You can copy the libraries from libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb inside /opt/viber/lib and you're set. May 10 at 14:17
  • answer based on @GeorgeLitos comment askubuntu.com/a/1409882/652604
    – madzohan
    May 21 at 20:34

4 Answers 4


Ubuntu broke libssl compatibility with 22.04. You have to get libssl 1.2.1 from 21.10 and make Viber work with it. Here are instructions to fix this:

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb

sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb

sudo nano /usr/share/applications/viber.desktop

Then change the Exec line to:

Exec=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libssl.so /opt/viber/Viber %u
  • Hi Filip, Thank you so much for your help. This solved my problem. Cheers!
    – Rey Mark
    Apr 23 at 11:35
  • 2
    Just remove the %u from the command line after installing the package Exec=/opt/viber/Viber Apr 26 at 5:33
  • 1
    Thank you very much. That saved my day! :D
    – FedKad
    May 3 at 11:21
  • 1
    Installing packages from other Ubuntu versions is a bad idea. This is a good way to get baffling system breakage sometime later. May 10 at 1:25
  • @NonnyMoose agree check my answer below askubuntu.com/a/1409882/652604
    – madzohan
    May 21 at 20:32

How to install Viber in Ubuntu 22.04 properly

(updated thnx @Giorgos_tph for testing and feedback)

1. Optional Download Viber or skip if you already have viber.AppImage

wget -P ~/Downloads https://download.cdn.viber.com/desktop/Linux/viber.AppImage

2. Extract from AppImage & move to /opt

chmod +x ~/Downloads/viber.AppImage
~/Downloads/viber.AppImage --appimage-extract
sudo mv ~/squashfs-root /opt/viber

3. Download working libs & replace broken ones in /opt/viber/lib

wget -P ~/Downloads http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
sudo dpkg -x ~/Downloads/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb ~/Downloads/viberlibs/
sudo rm /opt/viber/lib/libssl.so.* /opt/viber/lib/libcrypto.so.*
sudo cp ~/Downloads/viberlibs/usr/lib/x86_64-linux-gnu/lib* /opt/viber/lib/
rm ~/Downloads/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
sudo rm -rf ~/Downloads/viberlibs/

4. Move launcher to application folder & edit viber.desktop (point to actual Viber executable)

sudo cp /opt/viber/viber.desktop /usr/share/applications
sudo sed -i "s/Exec=.*/Exec=\/opt\/viber\/Viber/" /usr/share/applications/viber.desktop
sudo sed -i "s/Icon.*/Icon=\/opt\/viber\/viber\.png/" /usr/share/applications/viber.desktop

Profit! Open your launcher and there should be working Viber (if not logout & login)

  • I think that's a great workaround. Couple of mistakes though: 1) viber.appimage needs to get permission as an executable to extract 2) Correct move line is sudo mv ~/squashfs-root /opt/viber (not ~/Downloads/squash-root) 3) rm -rf line needs root permissions (sudo rm -rf ~/Downloads/viberlibs/) 4) Step 4 doesn't work, I logged out and back in, no Viber in the launcher. I bet we can fix that. Nonetheless, it works great from its original location (/opt/viber/Viber) May 22 at 19:58
  • @Giorgos_tph edited 2 step path thnx, about root rights - if you dont want to use it - you could place viber to local user app storage (which is located ~/.local/share/applications/) instead of /opt/viber use ~/.local/share/applications/viber
    – madzohan
    May 22 at 20:11
  • @Giorgos_tph after step 4 check 4th line-> cat /usr/share/applications/viber.desktop , it should be Exec=/opt/viber/Viber or Exec=~/.local/share/applications/viber/Viber if you chose user local app storage
    – madzohan
    May 22 at 20:14
  • There's something wrong with last step (sed -i). I tried to change it, but it's not my thing... All it does is that it changes the line to point to the correct executable location, right? Still, Viber app doesn't show up in launcher, don't know why May 22 at 20:26
  • 1
    Sorry @madzzohan, my bad! Only problem was the icon link :D Fixed it (Exec=/opt/viber/Viber and Icon=/opt/viber/viber.png) May 22 at 20:36

My problem was solved by installing the following packages libssl1.1_1.1.1f-1ubuntu2.12_amd64.deb, libssl-dev_1.1.1f-1ubuntu2.12_amd64.deb


The following sequence of commands worked for me to install a working viber client in a new Ubuntu 22.04 installation:

wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
sudo apt install ./viber.deb
rm -rf viber.deb

# install the old, yet compatible with viber, openssl libs,
# to remove the "No connection" error at client startup
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/$DEV
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/$NON_DEV
sudo apt install ./$DEV ./$NON_DEV
rm -rf $DEV $NON_DEV

Now it should be ready to go!

Not the answer you're looking for? Browse other questions tagged or ask your own question.