如何在Kubuntu 18.04上安装freefilesync

为什么Ubuntu 18.04或KDE 18.04 LTS没有freefilesync版本?

当我执行上面的行时,我有以下行

freefilesync-ubuntu-ffs-bionic.list 

但运行apt-get update会产生以下错误:

 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] 

你有两个选择:

  • 使用来自getdeb.net的FreeFileSync 9.2 (对于过时的Ubuntu 17.04) – 添加存储库,安装包然后删除存储库:

     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" 
  • 从官方网站下载FreeFileSync 10.3存档,解压缩,创建必要的快捷方式( .desktop -files),添加到PATH变量,并享受:

     # 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 http://ubuntu.miximages.com/package-management/download.php  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 

然后注销,再次登录,您将能够同时使用FreeFileSyncRealTimeSync

http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release”软件仓库不包含发布文件。

在这个PPA中没有Ubuntu Bionic(18.04)的软件包