如何通过命令行在 Linux 18.04 上安装 Filezilla?

vic*_*cky 9 xubuntu 18.04

如何通过命令行在 Linux 18.04 上安装 Filezilla,请帮忙。

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

sudo apt update

sudo apt install filezilla
Run Code Online (Sandbox Code Playgroud)

运行 sudo apt-get update 时出现此错误

Hit:8 https://download.sublimetext.com apt/stable/ InRelease        
Err:3 http://www.getdeb.net/ubuntu yakkety-getdeb InRelease                    
  403  Forbidden [IP: 143.95.32.90 80]
Err:9 http://ppa.launchpad.net/adabbas/1stppa/ubuntu bionic Release            
  404  Not Found [IP: 91.189.95.83 80]
E: Failed to fetch http://archive.getdeb.net/ubuntu/dists/yakkety-getdeb/InRelease  403  Forbidden [IP: 143.95.32.90 80]
E: The repository 'http://ppa.launchpad.net/n-muench/programs-ppa/ubuntu bionic Release' does not have a Release file.
W: Target Translations (apps/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/getdeb.list:1 and /etc/apt/sources.list.d/getdeb.list:2
Run Code Online (Sandbox Code Playgroud)

小智 6

FileZilla 默认没有安装,要在 Ubuntu 18.04 上安装 FileZilla,打开终端并执行:

sudo apt-get update
sudo apt-get install filezilla   
Run Code Online (Sandbox Code Playgroud)

使用 FileZilla 连接到 FTP 服务器

要连接到 FTP 服务器,请打开 FileZilla FTP 客户端并在主机字段中键入 FTP 服务器的域名或 IP 地址。提供 FTP 用户名和密码以及 FTP 端口(如果您的服务器使用默认 FTP 端口 21,您可以将端口留空)并单击快速连接按钮。


sud*_*dus 5

我建议从 Ubuntu 18.04.1 LTS 中的存储库“universe”进行全新安装。您可能必须删除所有带有“xenial”、“yakkety”或任何其他先前版本气味的东西,以保持 18.04 别名“bionic”的清洁。

在已安装的系统中,“universe”已经处于活动状态,但在标准 Ubuntu 的实时或持久实时系统中,您必须运行

sudo add-apt-repository universe
Run Code Online (Sandbox Code Playgroud)

之后你可以安装filezilla和许多其他程序包

sudo apt update
sudo apt install filezilla
Run Code Online (Sandbox Code Playgroud)

我现在测试了(在持久的实时 Ubuntu 18.04.1 LTS 中)并且它有效。我得到了一个工作版本的filezilla.