通过包管理器更新(推荐,适用于大多数Linux发行版)
包管理器是Linux系统更新软件的标准方式,操作简便且能自动处理依赖关系,但可能无法立即获取FileZilla的最新版本(需等待发行版仓库同步)。
sudo apt update && sudo apt upgrade
sudo apt upgrade filezilla
sudo apt install --reinstall filezilla
sudo dnf check-update
sudo dnf upgrade filezilla
sudo pacman -Syu
sudo pacman -S filezilla直接安装。filezilla --version
从官方网站下载手动更新(适用于需要最新功能或自定义版本)
若包管理器中的版本滞后,可通过官方网站获取最新稳定版,步骤如下:
.tar.xz格式)。wget命令下载(以FileZilla 3.65.0为例):wget https://download.filezilla-project.org/client/FileZilla_3.65.0_x86_64-linux-gnu.tar.xz
tar xjf FileZilla_3.65.0_x86_64-linux-gnu.tar.xz
FileZilla3文件夹移动至/opt目录(系统级软件存放路径):sudo mv FileZilla3 /opt/
sudo ln -sf /opt/FileZilla3/bin/filezilla /usr/local/bin/filezilla
.desktop文件至~/.local/share/applications/目录;[Desktop Entry]
Name=FileZilla
Exec=filezilla
Icon=/opt/FileZilla3/share/icons/hicolor/256x256/apps/filezilla.png
Type=Application
Categories=Network;FileTransfer;
使用第三方包管理工具更新(如Flatpak,适用于追求隔离性的用户)
Flatpak通过沙盒机制隔离应用,避免依赖冲突,适合需要多版本共存的用户:
sudo apt install flatpak # Debian/Ubuntu示例
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub org.filezilla.FileZilla
flatpak run org.filezilla.FileZilla。