当我尝试安装 ftp 时:
$ sudo yum install ftp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
No package ftp available.
Error: Nothing to do
Run Code Online (Sandbox Code Playgroud)
当我尝试连接到我的 ftp 时:
$ ftp 10.2.4.202
-bash: ftp: command not found
Run Code Online (Sandbox Code Playgroud)
通过yum
以下方式搜索 ftp :
$ sudo yum search ftp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
====================================================================== N/S Matched: ftp ======================================================================
curl.x86_64 : A utility for getting files from remote servers (FTP, HTTP, and others)
wget.x86_64 : A utility for retrieving files using the HTTP or FTP protocols
Name and summary matches only, use "search all" for everything.
Run Code Online (Sandbox Code Playgroud)
尝试以下推荐的方法:yum install lftp,列出 *ftp*,安装 ncftp(结果相同):
$ sudo yum install lftp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
No package lftp available.
Error: Nothing to do
Run Code Online (Sandbox Code Playgroud)
尝试lftp
:
$ lftp 10.2.4.202
-bash: lftp: command not found
Run Code Online (Sandbox Code Playgroud)
的输出yum repolist
:
$ sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
repo id repo name status
CactiEZ CactiUsers Cactiez Repo 30
pgdg93 PostgreSQL 9.3 6 - x86_64 195
repolist: 225
Run Code Online (Sandbox Code Playgroud)
Boo*_*ogy -1
没有名为 ftp 的 rpm 软件包。要查看包含 ftp 的所有包,请键入:
yum search ftp
Run Code Online (Sandbox Code Playgroud)
如果你想要一个 ftp 客户端,你可以使用 lftp。要安装它:
yum install lftp
Run Code Online (Sandbox Code Playgroud)
然后使用它:
lftp 10.2.4.202
Run Code Online (Sandbox Code Playgroud)