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)
/var/log/syslog
(or elsewhere in/var/log
) that might point to the issue?/var/log/syslog
and doingtail -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
?libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
inside /opt/viber/lib and you're set.