Need help in installing it on Red Hat linux

Get help for specific problems
Posts: 6
Joined: 18 May 2022

sertec

I downloaded FreeFileSync_11.20_Linux.tar.gz and then uncompress and untar'd.

Need documentation of how would I install this FreeFileSync tool on Red Hat linux (Red Hat Enterprise Linux Server release 6.10 (Santiago)).

Please advise.
Posts: 6
Joined: 18 May 2022

sertec

Tried with installation version 11.21 (Still wouldn't work) - Need help :-

[root@sertec-mail selvam]# tar -xvzf FreeFileSync_11.21_Linux.tar.gz
FreeFileSync_11.21_Install.run
[root@sertec-mail selvam]#

-rwxr-xr-x 1 root root 30204875 May 17 04:02 FreeFileSync_11.21_Install.run

[root@sertec-mail selvam]# file FreeFileSync_11.21_Install.run
FreeFileSync_11.21_Install.run: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped
[root@sertec-mail selvam]#

[root@sertec-mail selvam]# ./FreeFileSync_11.21_Install.run
dd: invalid input flag: `skip_bytes'
Try `dd --help' for more information.
Failed to extract temporary files to "/tmp/FreeFileSync_11.21_EOPFhH".
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

[root@sertec-mail selvam]#

[root@sertec-mail selvam]# ./FreeFileSync_11.21_Install.run -h
dd: invalid input flag: `skip_bytes'
Try `dd --help' for more information.
Failed to extract temporary files to "/tmp/FreeFileSync_11.21_BbGHlm".
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

[root@sertec-mail selvam]#
Posts: 6
Joined: 18 May 2022

sertec

Please advise, what I am missing. Do I need to download the source and then compile it in the O.S to make it work. Even then I need to get documentation for Red Hat linux installation. Please advise.
Posts: 306
Joined: 7 Jan 2018

bgstack15

Alas, I have been unable to adapt the source code of FreeFileSync > 10.24 for even CentOS 7. I suspect RHEL 6 is just too old.

If the precompiled binary for you is compiled on too high a glibc for RHEL6 (off the top of my head, glibc 2.13 for RHEL6?), there's going to be nothing you can do even if we manually extract the files from this .run file.

Please be aware that RHEL 6 has been unsupported for approximately 2 years now. It is going to be extremely difficult to get anything this modern to work on it.

That being said, if you want to fiddle with this stuff manually (and losing the benefit of the fancy .run binary), you can probably use 7z or 7za to extract the .run contents, and manually place them in relevant directories.
Posts: 6
Joined: 18 May 2022

sertec

Can you provide me link for installation document. I will install it on latest Red Hat linux to check. Is this linux version compatible with Sun Solaris unix 11 or 10 as well. Please advise.
Posts: 306
Joined: 7 Jan 2018

bgstack15

If you wanted the guide for installing on CentOS 7, check out forum post 6566

If you mean for CentOS 8, the instructions would be almost the same. I had to check my copr, which shows that the last successful build on EL8 was FreeFileSync 10.24. To install on CentOS 8, you would need to install one (or two?) repositories from the COPR:
curl https://copr.fedorainfracloud.org/coprs/bgstack15/stackrpms/repo/epel-8/bgstack15-stackrpms-epel-8.repo | sudo tee /etc/yum.repos.d/bgstack15-stackrpms-epel-8.repo
And it does appear that to build FFS on EL8 I needed my second repo, copr_bgstack15_FreeFileSync which held my build dependencies (just 2 for EL8, it would seem).
curl https://copr.fedorainfracloud.org/coprs/bgstack15/FreeFileSync/repo/epel-8/bgstack15-FreeFileSync-epel-8.repo | sudo tee /etc/yum.repos.d/bgstack15-FreeFileSync-epel-8.repo
And then you should be able to run:
sudo yum install freefilesync
If you really wanted guidance on splitting up the .run file that is the official release of FreeFileSync, here is a lame attempt:
tar -zxf FreeFileSync_11.21_Linux.tar.gz
7z x FreeFileSync_11.21_Install.run
tar -zxf FreeFileSync.tar.gz
I suggest you run this command inside a dedicated directory to just store everything, or at least move everything to a dedicated directory.
If you wanted to add a menu icon, you would move/copy the FreeFileSync.template.desktop to ~/.local/share/applications/FreeFileSync.desktop and modify the Exec= and Icon= lines to pint to the correct paths for the files listed there.
To make it possible to run "FreeFileSync" without having to give the full path, you could make a symlink in ~/bin or ~/.local/bin (depending on which one is already in your $PATH environment variable):
ln -s /full/path/to/extracted/FreeFileSync/bin/FreeFileSync ~/bin
Or if you're feeling really bold, try running that install.sh which we manually extracted from the .run file. Obviously it is supposed to be run by the .run binary, probably from a dedicated temp directory.
./install.sh
edited 2022-05-30 to fix typo
Last edited by bgstack15 on 30 May 2022, 23:40, edited 1 time in total.
Posts: 6
Joined: 18 May 2022

sertec

I tried to follow your command to install it on Red Hat Enterprise Linux release 8.6 (Ootpa).

I got the following error, need help !!!.

[root@interact-test selvam]# sh -x a.sh
+ curl https://copr.fedorainfracloud.org/coprs/bgstack15/stackrpms/repo/epel-8/bgstack15-stackrpms-epel-8.repo
+ sudo tee /etc/yum.repos.d/bgstack15-stackrpms-epel-8.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 380 100 380 0 0 798 0 --:--:-- --:--:-- --:--:-- 796
[copr:copr.fedorainfracloud.org:bgstack15:stackrpms]
name=Copr repo for stackrpms owned by bgstack15
baseurl=https://download.copr.fedorainfracloud.org/results/bgstack15/stackrpms/epel-8-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/bgstack15/stackrpms/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
[root@interact-test selvam]#

[root@interact-test selvam]# sh -x a1.sh
+ curl https://copr.fedorainfracloud.org/coprs/bgstack15/FreeFileSync/repo/epel-8/bgstack15-FreeFileSync-epel-8.repo
+ sudo tee /ec/yum.repos.d/bgstack15-FreeFileSync-epel-8.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0tee: /ec/yum.repos.d/bgstack15-FreeFileSync-epel-8.repo: No such file or directory
100 392 100 392 0 0 78 0 0:00:05 0:00:04 0:00:01 100
[copr:copr.fedorainfracloud.org:bgstack15:FreeFileSync]
name=Copr repo for FreeFileSync owned by bgstack15
baseurl=https://download.copr.fedorainfracloud.org/results/bgstack15/FreeFileSync/epel-8-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/bgstack15/FreeFileSync/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
[root@interact-test selvam]#

[root@interact-test selvam]# sudo yum install freefilesync
Updating Subscription Management repositories.
Copr repo for stackrpms owned by bgstack15 183 kB/s | 163 kB 00:00
Error:
Problem: conflicting requests
- nothing provides libwx_baseu-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_net-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_xml-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_html-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_qa-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_xrc-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@interact-test selvam]#
Posts: 306
Joined: 7 Jan 2018

bgstack15

Of course there was a typo in what I had sent! It's /etc/yum.repos.d/ instead of /ec/yum.repos.d/.
Posts: 6
Joined: 18 May 2022

sertec

[root@interact-test selvam]# sh -x a.sh
+ curl https://copr.fedorainfracloud.org/coprs/bgstack15/stackrpms/repo/epel-8/bgstack15-stackrpms-epel-8.repo
+ sudo tee /etc/yum.repos.d/bgstack15-stackrpms-epel-8.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 380 100 380 0 0 3762 0 --:--:-- --:--:-- --:--:-- 3762
[copr:copr.fedorainfracloud.org:bgstack15:stackrpms]
name=Copr repo for stackrpms owned by bgstack15
baseurl=https://download.copr.fedorainfracloud.org/results/bgstack15/stackrpms/epel-8-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/bgstack15/stackrpms/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
[root@interact-test selvam]# sh -x a1.sh
+ curl https://copr.fedorainfracloud.org/coprs/bgstack15/FreeFileSync/repo/epel-8/bgstack15-FreeFileSync-epel-8.repo
+ sudo tee /etc/yum.repos.d/bgstack15-FreeFileSync-epel-8.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 392 100 392 0 0 3438 0 --:--:-- --:--:-- --:--:-- 3438
[copr:copr.fedorainfracloud.org:bgstack15:FreeFileSync]
name=Copr repo for FreeFileSync owned by bgstack15
baseurl=https://download.copr.fedorainfracloud.org/results/bgstack15/FreeFileSync/epel-8-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/bgstack15/FreeFileSync/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
[root@interact-test selvam]# sudo yum install freefilesync
Updating Subscription Management repositories.
Copr repo for FreeFileSync owned by bgstack15 6.2 kB/s | 3.3 kB 00:00
Copr repo for stackrpms owned by bgstack15 31 kB/s | 3.6 kB 00:00
Error:
Problem: conflicting requests
- nothing provides libwx_baseu-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_net-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_xml-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_html-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_qa-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_xrc-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@interact-test selvam]# yum install freefilesync
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:21 ago on Mon 06 Jun 2022 09:33:16 PM EDT.
Error:
Problem: conflicting requests
- nothing provides libwx_baseu-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_net-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_baseu_xml-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_adv-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_aui-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_core-3.0.so.0(WXU_3.0)(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_html-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_qa-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
- nothing provides libwx_gtk2u_xrc-3.0.so.0()(64bit) needed by freefilesync-10.24-1.epel8.playground.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@interact-test selvam]# yum install freefilesync --skip-broken
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:30 ago on Mon 06 Jun 2022 09:33:16 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root@interact-test selvam]#

I fixed the /etc directyr and still having issues. Need help !!!
Posts: 306
Joined: 7 Jan 2018

bgstack15

I probably need to rebuild everything for EL8 then. I can't promise any built packages, but I will see what I can do this week to build it.
Posts: 306
Joined: 7 Jan 2018

bgstack15

I was able to build freefilesync-11.21-1 for el8! Try the copr now.