How do you install this on Ubuntu Linux?

Get help for specific problems
Posts: 1
Joined: 6 Jun 2020

fluxanomaly

I'm kinda new to Linux and haven't installed anything from a tar yet. I downloaded and unzipped it. But I don't see an installer. Although I can run it like this I can't make a shortcut. Can someone help me figure this out?

I'm running Ubuntu 18.04.4 LTS.
Posts: 345
Joined: 7 Jan 2018

bgstack15

The binary file to run is in the FreeFileSync directory, and it is named FreeFileSync. (It will actually run the Bin/FreeFileSync_x86_64 or Bin/FreeFileSync_i686 depending on your architecture.)
The Linux tarball release of FreeFileSync includes a sample shortcut file for the menu. Ubuntu will certainly use the ~/.local/share/applications/ directory. So make that directory (where ~ is your home directory, so probably /home/fluxanomaly/.local/share/applications) and then place FreeFileSync.desktop file with contents like so:
[Desktop Entry]
Type=Application
Name=FreeFileSync
GenericName=Folder Comparison and Synchronization
GenericName[de_DE]=Ordnervergleich und Synchronisation
Exec=/home/zenju/Desktop/FFS/Build/FreeFileSync %F
Icon=/home/zenju/Desktop/FFS/Build/Resources/FreeFileSync.png
NoDisplay=false
Terminal=false
Categories=Utility;FileTools;
StartupNotify=true
Change the /home/zenju... path to the real path of where you downloaded and placed the FreeFileSync program. Do the same for the Icon value.

If you're using the regular Ubuntu, the desktop environment is GNOME Shell, which should pick up the new .desktop file in ~/.local/share/applications immediately. But the same goes for MATE, Cinnamon, Xfce (Xubuntu), and KDE.

If you want to install the program in a place for everybody else who uses the computer, then place the contents of the tarball somewhere where everyone can access, something like /usr/share/FreeFileSync, (and do this with sudo in front of the mv or cp commands), and then place the .desktop file in /usr/share/applications directory.