-bash: ftp: command not found

Linux中测试搭建 FTP 服务器,刚安装完 vsftpd 测试登录时就提示“-bash: ftp: command not found”,说明需要安装FTP客户端。

1. http://rpmfind.net/linux/rpm2html/search.php?query=ftp  下载客户端 

2. rpm -ivh ftp-0.17-51.1.el6.x86_64.rpm   安装客户端

3. 安装ftp-0.17-74.fc27.aarch64.rpm 时,出现如下异常:

    warning: ftp-0.17-74.fc27.aarch64.rpm: Header V3 RSA/SHA256 Signature, key ID f5282ee4: NOKEY

    error: Failed dependencies:

    ld-linux-aarch64.so.1()(64bit) is needed by ftp-0.17-74.fc27.aarch64

    ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) is needed by ftp-0.17-74.fc27.aarch64

    libncurses.so.6()(64bit) is needed by ftp-0.17-74.fc27.aarch64

    libreadline.so.7()(64bit) is needed by ftp-0.17-74.fc27.aarch64

    libtinfo.so.6()(64bit) is needed by ftp-0.17-74.fc27.aarch64

 解决办法:  选一个较低版本ftp客户端ftp-0.17-54.el6.x86_64.rpm

你可能感兴趣的:(Linux)