如何从 Ubuntu 卸载 freefilesync

如何从 Ubuntu 卸载 freefilesync

我从这里为我的 Ubuntu 20.04 安装了 FreeFileSync; https://freefilesync.org/download.php

安装成功,应用程序正常运行。问题是我无法从设备中删除 FreeFileSync。

  1. 我试过 Ubuntu 软件中心:它没有列出
  2. 尝试了以下命令。但均无效
sudo apt remove freefilesync
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package freefilesync
sudo apt-get autoremove freefilesync
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package freefilesync

有什么帮助吗?

更新: 以下是which freefilesync

aca@aca-00:~$ which FreeFileSync
aca@aca-00:~$ which freefilesync
aca@aca-00:~$ which RealtimeFileSync
aca@aca-00:~$ 

实际上没有输出 :(

更新 2;我的 Ubuntu 版本

输出lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal

更新 3:问题已解决

有一个 uninstall.sh 文件/opt/FreeFileSync/

答案1

如果您使用从以下位置下载的 FreeFileSync_11.21_Linux.tar.gz 中提取的 FreeFileSync_11.21_Install.run 文件安装了 FreeFileSynchttps://freefilesync.org/download.php,运行位于 /opt/FreeFileSync 的 uninstall.sh 文件。

答案2

以前 FreeFileSync 以 tarball 形式提供,因此需要下载它,解压到某个地方,然后调整$PATH中的变量~/.bashrc~/.profile并将桌面文件放入 中~/.local/share/applications
您必须检查which FreeFileSyncwhich RealtimeFileSync确定这是否适合您的情况。

目前 FreeFileSync作为 FlatPak 发货,要删除它,请使用以下命令:

flatpak remove org.freefilesync.FreeFileSync

相关内容