How to install Viber

I am newbie with Garuda and newbie with this forum.
I would like to install Viber .... how to do that ?
I am using Xfce.
Thanks!

Hi, and welcome! :slight_smile:
It is available in the AUR repository:
https://aur.archlinux.org/packages/viber/
So you won't be able to find it via Add/Remove Softwre and similar or with pacman on the terminal. You'll need a "AUR helper" to do it more easily than with pure commands.
I assume paru is installed also in Xfce, so just open a terminal and enter:
paru viber
Confirm 1 (the only package available) and you should be done.
For further info on AUR:
https://wiki.archlinux.org/title/Arch_User_Repository

3 Likes
$ paru viber
1 aur/viber 13.3.1.22-1 [+261 ~1.09]
    Proprietary cross-platform IM and VoIP software
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Repo (1) openssl-1.0-1.0.2.u-1
Aur (1) viber-13.3.1.22-1

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
/home/wizard/.cache/paru/clone/viber/PKGBUILD
# Maintainer: Sandor Nagy <sandor[dot]nagy[at]kdemail[dot]net>
# Contributor: Mladen Pejaković <pejakm[at]autistici[dot]org>
# Contributor: Morealaz <[email protected]>
# Contributor: Lev Lybin <[email protected]>
# Contributor: Özgür Sarıer <ozgursarier1011601115[at]gmail[dot]com>

pkgname=viber
pkgver=13.3.1.22
pkgrel=1
pkgdesc="Proprietary cross-platform IM and VoIP software"
arch=('x86_64')
url='https://www.viber.com'
license=('custom')
depends=('libxss' 'xcb-util-image' 'xcb-util-keysyms' 'xcb-util-renderutil' 'xcb-util-wm' 'libxss'
        'openssl' 'libpulse' 'alsa-lib' 'nss' 'libxcomposite' 'libxcursor' 'libxdamage'
        'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly' 'gst-libav' 'libxslt' 'openssl-1.>
options=('!strip')
source=("$pkgname-$pkgver.deb::https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb")
sha256sums=('1037a48d74caef33d123b166da2bfb1fe8fa67590b8669ecf25b314f41374267')

prepare() {
  cd "$srcdir"

  tar -xf control.tar.gz
  tar -Jxf data.tar.xz
  sed -e 's|Exec=/opt/viber/Viber|Exec=viber|g' \
      -e 's|/usr/share/pixmaps/viber.png|viber.png|g' \
      -e 's|/usr/share/pixmaps/viber.png|viber.png|g' \
      -i usr/share/applications/viber.desktop
}

package() {
  cd "$srcdir"

  install -dm755 "$pkgdir/opt"
  cp -r "$srcdir/opt/viber/" "$pkgdir/opt/"
  install -Dm644 usr/share/applications/viber.desktop -t "$pkgdir/usr/share/applications/"
  install -Dm644 copyright "$pkgdir/usr/share/licenses/viber/LICENSE"

  install -dm755 "$pkgdir/usr/bin/"
  ln -s /opt/viber/Viber "$pkgdir/usr/bin/viber"

  # install icons
  cd "$srcdir/opt/viber/"
  for iconsize in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256; do
    install -Dm644 icons/$iconsize.png "$pkgdir/usr/share/icons/hicolor/$iconsize/apps/viber.png"
  done
  install -Dm644 icons/Viber.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/viber.svg"
}


(END)

I expect that Viber is installed and click to close the Terminal, but there appears a message:
'There are active processes. Closure of this window will kill the active processes.'

Sorry,
I don't know how to continue and to complete the installation of Viber.

It hasn't installed yet. paru is showing the PKGBUILD so you can review it. Once you are done reviewing the PKGBUILDs it will start the installation.

If you don't want to review the PKGBUILDs you can pass the --skipreview flag to paru. That being said, I do advise reviewing them.

3 Likes

Thank You very much!
The following command installed Viber successfully:

$ paru viber --skipreview
1 Like

Just for possible future reference:

3 Likes

Press q to continue when the text (END) appears.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.