Теоретически, viber можно запустить и без установки:
# chmod +x /home/$user/Загрузки/viber.AppImage
# cd /opt
# pwd
/opt
$ ./viber.AppImage --appimage-help
AppImage options:
--appimage-extract [<pattern>] Extract content from embedded filesystem image
If pattern is passed, only extract matching files
--appimage-help Print this help
--appimage-mount Mount embedded filesystem image and print
mount point and wait for kill with Ctrl-C
--appimage-offset Print byte offset to start of embedded
filesystem image
--appimage-portable-home Create a portable home folder to use as $HOME
--appimage-portable-config Create a portable config folder to use as
$XDG_CONFIG_HOME
--appimage-signature Print digital signature embedded in AppImage
--appimage-updateinfo[rmation] Print update info embedded in AppImage
--appimage-version Print version of AppImageKit
Portable home:
If you would like the application contained inside this AppImage to store its
data alongside this AppImage rather than in your home directory, then you can
place a directory named
/home/$user/Загрузки/viber.AppImage.home
Or you can invoke this AppImage with the --appimage-portable-home option,
which will create this directory for you. As long as the directory exists
and is neither moved nor renamed, the application contained inside this
AppImage to store its data in this directory rather than in your home
directory
# /home/$user/Загрузки/viber.AppImage --appimage-extract
# mv /opt/squashfs-root /opt/viber
# ls -lF ./ | grep viber
drwxr-xr-x 4 root root 4096 ноя 18 00:03 viber/
# ls -lF ./viber/
итого 20
-rwxr-xr-x 1 root root 344 ноя 18 00:03 AppRun*
drwxr-xr-x 2 root root 4096 ноя 18 00:03 apprun-hooks/
-rwxr-xr-x 1 root root 291 ноя 18 00:03 AppRun.wrapped*
drwxr-xr-x 10 root root 4096 ноя 18 00:03 usr/
-rw-r--r-- 1 root root 216 ноя 18 00:03 viber.desktop
lrwxrwxrwx 1 root root 46 ноя 18 00:03 viber.png -> usr/share/icons/hicolor/256x256/apps/viber.png
Соль в том, что viber.AppImage содержит почти все необходимые библиотеки, - 86 из 119-ти необходимых:
$ ldd /opt/viber/usr/bin/Viber | grep opt | wc -l
86
$ ldd /opt/viber/usr/bin/Viber | wc -l
119
Включая и отсутствующую в p10
$ ldd /opt/viber/usr/bin/Viber | grep libevent
libevent-2.1.so.7 => /opt/viber/usr/bin/../lib/libevent-2.1.so.7 (0x00007faf49fda000)
$ file /opt/viber/usr/bin/../lib/libevent-2.1.so.7
/opt/viber/usr/bin/../lib/libevent-2.1.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=fa530767e61eeaced04441ac79362efa83c08dd0, stripped
$ ldd-requires /opt/viber/usr/bin/Viber
Архитектура двоичного файла соответствует ОС
Уже установлены все библиотеки
$ /opt/viber/AppRun
$ /opt/viber/usr/bin/Viber