How-To install freefilesync on Kubuntu 18.04

You have two options here:

  • Use FreeFileSync 9.2 from getdeb.net (for obsolete Ubuntu 17.04) - add repository, install package then remove repository:

    sudo add-apt-repository "deb http://archive.getdeb.net/ubuntu zesty-getdeb apps"
    sudo wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
    
    sudo apt-get update
    sudo apt-get install freefilesync
    sudo add-apt-repository -r "deb http://archive.getdeb.net/ubuntu zesty-getdeb apps"
    
  • Download FreeFileSync 10.3 archive from official site, extract it, create necessary shortcuts (.desktop-files), add to PATH variable, and enjoy:

    # 1. Create ~/Software folder and download here
    mkdir ~/Software
    cd ~/Software
    xdg-open https://freefilesync.org/download/FreeFileSync_10.3_Linux_64-bit.tar.gz
    # save to ~/Software
    # if it don't work - click on "Download FreeFileSync 10.3 Linux 64-bit"
    #xdg-open https://freefilesync.org/download.php
    
    # extract the program
    tar -xf FreeFileSync_10.3_Linux_64-bit.tar.gz
    cd FreeFileSync
    # extract icons
    unzip Resources.zip FreeFileSync.png RealTimeSync.png
    mkdir -p ~/.local/share/icons/hicolor/256x256/apps/
    mv {FreeFileSync,RealTimeSync}.png ~/.local/share/icons/hicolor/256x256/apps/
    
    # 2. Create shortcuts for current user
    mkdir -p ~/.local/share/applications/
    
    cat > ~/.local/share/applications/freefilesync.desktop << EOF
    [Desktop Entry]
    Name=FreeFileSync
    Comment=Keep files and folders synchronized
    Exec=FreeFileSync %f
    Terminal=false
    Type=Application
    Icon=FreeFileSync
    MimeType=application/x-freefilesync-ffs;application/x-freefilesync-batch
    Categories=Utility;FileTools;GTK;
    StartupWMClass=FreeFileSync
    StartupNotify=true
    EOF
    
    cat > ~/.local/share/applications/realtimesync.desktop << EOF
    [Desktop Entry]
    Name=RealtimeSync
    Comment=Start synchronization in real time
    Exec=RealTimeSync %f
    Terminal=false
    Type=Application
    Icon=RealTimeSync
    Categories=Utility;FileTools;GTK;
    MimeType=application/x-freefilesync-real
    StartupNotify=true
    EOF
    
    # add it to PATH
    echo "PATH=$PATH:$HOME/Software/FreeFileSync" >> ~/.bashrc
    echo "PATH=$PATH:$HOME/Software/FreeFileSync" >> ~/.profile
    source ~/.bashrc
    

then logout, log-in again and you will be able to use both FreeFileSync and RealTimeSync.


EDIT

  1. Download Linux version from: https://freefilesync.org/download.php tar.gz file

  2. Extract from tar.gzin File Manager using right button, 'extract here'. In terminal go to extraction folder cd FreeFileSync_11.6_Linux/; or locate tar.gz in terminal and extract with

    tar xzvf FreeFileTab

  3. Run script ./FreeFileSync_11.XX_Install.run (wait)

  4. Win free to open

  5. Right-click in icon to add to favorites (menu)

OLD - not necessary

  1. In terminal (go to), cd Downloads, and move extracted:

    sudo mv FreeFileSync_10.24_Linux/FreeFileSync/ /opt/

  2. Symlink (unfortunately it does not work with FreeFileSync file), so the binary must be chosen manually. In this case 64 bits (other option: FreeFileSync_i686)

    sudo ln -s /opt/FreeFileSync/Bin/FreeFileSync_x86_64 /usr/bin/FreeFileSync
    
  3. Create .desktop file

    cat >$HOME/.local/share/applications/freefilesync.desktop <<'EOL'
    [Desktop Entry]
    Comment=Keep files and folders synchronized
    Type=Application
    Terminal=false
    Icon=/opt/FreeFileSync/Resources/FreeFileSync.png
    Name=FreeFileSync
    Exec=FreeFileSync %F 
    EOL
    
  4. Create modifier of favorite-apps (left menu in ubuntu) with name of created .desktop

    cat >addToMenu.sh <<'EOL'
    #!/usr/bin/env bash
    STATE=`gsettings get org.gnome.shell favorite-apps`
    STATE=$(sed 's/]/,'\ \'freefilesync.desktop\'']/g' <<< $STATE)
    gsettings set org.gnome.shell favorite-apps "${STATE}"
    EOL
    
  5. Modify favorite-apps

     sudo apt install gnome-shell-extensions
     bash addToMenu.sh
    

(tested in ubuntu 18.04 and 16.04)


The depot "http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release" does not contain a release file.

There is no package for Ubuntu Bionic (18.04) in this PPA