解除安裝

你可以使用作業系統內建工具安全地解除安裝檔案桌面客戶端。

一般指引

在每個作業系統中:

  1. 在移除前,請確保已*結束桌面客戶端*。

  2. *解除安裝*桌面客戶端。

  3. You may also need to take into consideration that uninstalling the desktop client will not remove the user's configuration file and synced data.

    如需移除資料(同步資料夾),可考慮使用伺服器功能 remote wipe。此功能適用於所有客戶端。

以下為各平台的詳細指引。

Windows

移除桌面客戶端有兩種方式:

  1. 使用 Add or Remove Programs

  2. 你亦可使用 msiexec 指令列選項:

msiexec /uninstall Nextcloud-x.y.z-x64.msi /quiet``
  1. The user's configuration is located at %APPDATA%\Nextcloud\nextcloud.cfg.

macOS

除了從 Applications 資料夾刪除桌面客戶端外,你可能亦需要移除所有相關資料,尤其是在使用虛擬檔案時。

  1. 如只需解除安裝軟件,可透過 Launchpad 或 Finder 進行。

  2. 如需完全移除所有相關資料,可使用以下指令:

rm -rf "$HOME/Library/Application Scripts/com.nextcloud.desktopclient"*
rm -f  "$HOME/Library/Application Support/CrashReporter/Nextcloud_"*
rm -rf "$HOME/Library/Application Support/Nextcloud"
rm -rf "$HOME/Library/Caches/Nextcloud"
rm -rf "$HOME/Library/Containers/com.nextcloud.desktopclient"*
rm -rf "$HOME/Library/Group Containers/NKUJUXUJ3B.com.nextcloud.desktopclient"
rm -rf "$HOME/Library/Group Containers/com.nextcloud.desktopclient"
rm -f  "$HOME/Library/LaunchAgents/com.nextcloud.desktopclient.plist"
rm -rf "$HOME/Library/Preferences/Nextcloud"
rm -f  "$HOME/Library/Preferences/com.nextcloud.desktopclient.plist"
  1. From version 33.0.0 the user's configuration is located at $HOME/Library/Containers/com.nextcloud.desktopclient/Data/Library/Preferences/Nextcloud/nextcloud.cfg. On older versions it is located at $HOME/Library/Preferences/Nextcloud/nextcloud.cfg.

Linux

取決於你安裝桌面客戶端的方式:

  1. 如你使用 Nextcloud AppImage,只需刪除該 AppImage 檔案。

  2. 如透過套件管理器安裝桌面客戶端,亦可透過其進行解除安裝。例如在 Ubuntu 上可使用以下指令:

sudo apt remove nextcloud-desktop
  1. The user's configuration is located at $HOME/.config/Nextcloud/nextcloud.cfg.