install it on debian 10

Discuss new features and functions
Posts: 4
Joined: 6 Feb 2020

sechanbask

hello everybody

Can you tell me how do you install freefile sync on debian ?

I have tried to download tar.gz, to launch it but I have this message
$ /opt/FreeFileSync/FreeFileSync
/opt/FreeFileSync/Bin/FreeFileSync_x86_64: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can I have some help ?
Posts: 309
Joined: 7 Jan 2018

bgstack15

I'm running Devuan Ceres, which is basically equivalent to Debian sid. Here's the package that provides that library:
$ dpkg-query -S /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
libgtk2.0-0:amd64: /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
So you need to make sure you have package libgtk2.0-0 installed.
Posts: 4
Joined: 6 Feb 2020

sechanbask

Hello,

Thank you, I have tried to install libgtk-x11, so I could not. With your help, I have installed libgtk2.0-0 and now I can launh this software.

I have also installed libcanberra :
# apt install libcanberra-gtk-module
thank you
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

I have also installed libcanberra :
# apt install libcanberra-gtk-module
sechanbask, 08 Feb 2020, 22:33
Was this really necessary? I'd expect that a sudo apt install libgtk2.0 should suffice to fix the error about missing libgtk-x11-2.0.so.0.
Posts: 4
Joined: 6 Feb 2020

sechanbask

When I have launched it after installing libgtk2.0

I have a warning about canberra, so I had it...


P. S. I doesn't like sudo but su... I don't know why..
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

I've improved the launcher to detect this situation and to provide (helpful) instructions on what to do about it (in this case: sudo apt install libgtk2.0) https://www.mediafire.com/file/null/FreeFileSync_10.23_beta_Linux.tar.gz

If there are other situations where FFS fails to run on a newly installed Linux and all that's needed is installing a few additional packages, please let me know! I can add this info to the launcher and save some users a lot of Google time.
Posts: 309
Joined: 7 Jan 2018

bgstack15

Here's my dpkg dependencies, so applicable directly to Devuan (should be same for Debian).
libc6 (>= 2.29), libcurl4 (>= 7.68.0), libgcc-s1 (>= 3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.14.0), libselinux1 (>= 1.32), libssh2-1 (>= 1.7.0), libssl1.1 (>= 1.1.1), libstdc++6 (>= 7), libwxbase3.0-0v5 (>= 3.0.4+dfsg), libwxgtk3.0-0v5 (>= 3.0.4+dfsg), zlib1g (>= 1:1.2.0), xdg-utils
from dh_makeshlibs output.
For the apt command:
sudo apt-get install libc6 libcurl4 libgcc-s1 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libselinux1 libssh2-1 libssl1.1 libstdc++6 libwxbase3.0-0v5 libwxgtk3.0-0v5 zlib1g xdg-utils