fiz*_*fax 3 package-management
为什么没有适用于 Ubuntu 18.04 或 KDE 18.04 LTS 的 freefilesync 版本?
当我执行上面的行时,我在
freefilesync-ubuntu-ffs-bionic.list
Run Code Online (Sandbox Code Playgroud)
但是运行然后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]
Run Code Online (Sandbox Code Playgroud)
您在这里有两个选择:
使用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"
Run Code Online (Sandbox Code Playgroud)从官方网站下载 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 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
Run Code Online (Sandbox Code Playgroud)然后注销,再次登录,您将能够同时使用FreeFileSync和RealTimeSync。