List the contents of the installation directory. Notice "setup.sh".
| guru@hp:~$ ls -lh Downloads/Xmind/
total 676K
-rw-r--r-- 1 guru guru 403K Dec 9 2019 artifacts.xml
drwxr-xr-x 2 guru guru 4.0K Dec 9 2019 configuration
-rw-r--r-- 1 guru guru 17K Mar 15 2017 epl-v10.html
drwxr-xr-x 25 guru guru 4.0K Dec 9 2019 features
drwxr-xr-x 2 guru guru 4.0K Mar 15 2017 fonts
-rw-r--r-- 1 guru guru 8.3K Mar 15 2017 lgpl-3.0.html
drwxr-xr-x 21 guru guru 168K Dec 9 2019 plugins
-rw-r--r-- 1 guru guru 38K Dec 9 2019 readme.txt
-rwxr-xr-x 1 guru guru 546 Jul 2 2018 setup.sh
drwxr-xr-x 4 guru guru 4.0K Dec 9 2019 XMind_amd64
drwxr-xr-x 4 guru guru 4.0K Dec 9 2019 XMind_i386
-rw-r--r-- 1 guru guru 3.2K Jul 23 2018 xpla.txt
guru@hp:~$
|
Check the contents of that file. Notice the required packages.
| guru@hp:~$ cat Downloads/Xmind/setup.sh
#!/bin/bash
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
echo "[setup] Installing dependencies...."
apt-get install openjdk-8-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0
FONTS_DIR="$SCRIPT_DIR/fonts"
if [ -d "$FONTS_DIR" ]; then
echo "[setup] Installing custom fonts...."
mkdir -p /usr/share/fonts/truetype/xmind
rsync -av "$FONTS_DIR/" /usr/share/fonts/truetype/xmind/
fc-cache -f
else
echo "[setup] WARNING: Custom fonts for XMind are not found."
fi
echo "[setup] Done."
guru@hp:~$
|
Notice that package "libwebkitgtk-1.0-0" is not available in the repository. There is a package "libwebkit2gtk-4.0-37" already installed though...
| guru@hp:~$ apt-cache policy openjdk-8-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0 | grep "Candidate"
Candidate: 8u312-b07-0ubuntu1~20.04
Candidate: 2.24.32-4ubuntu4
Candidate: (none)
Candidate: 3.100-3
Candidate: 2.31-0ubuntu9.9
Candidate: 2.64.6-1~ubuntu20.04.4
guru@hp:~$ dpkg -l | grep libwebkit
ii libwebkit2gtk-4.0-37:amd64 2.34.6-0ubuntu0.20.04.1 amd64 Web content engine library for GTK
guru@hp:~$
|
And notice that packages "libgtk2.0-0", "libc6" and "libglib2.0-0" are already installed.
| guru@hp:~$ apt-cache policy openjdk-8-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0 | grep "Installed"
Installed: (none)
Installed: 2.24.32-4ubuntu4
Installed: (none)
Installed: (none)
Installed: 2.31-0ubuntu9.7
Installed: 2.64.6-1~ubuntu20.04.4
guru@hp:~$
|