What is the preferred way to install Viber in a 21.10 desktop environment

You have three download options:

  1. AppImage from https://download.cdn.viber.com/desktop/Linux/viber.AppImage

  2. deb-file from https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb

  3. Flatpak to install with the following commands:

    sudo apt update
    sudo apt install flatpak
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    flatpak install flathub com.viber.Viber
    

I find traditional deb-based method preferable.