Ubuntu – How-To install freefilesync on Kubuntu 18.04

package-management

Why is there no Version of freefilesync for Ubuntu 18.04 or KDE 18.04 LTS?

When I make executing the lines above I have the following line in the

freefilesync-ubuntu-ffs-bionic.list

But running then apt-get update gives the following ERROR:

Fehl:7 http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release                                                                                   
  404  Not Found [IE: Das Depot »http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release« enthält keine Release-Datei.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
P: 91.189.95.83 80]

Best Answer

  • 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.

  • Related Question