Howto install ftp command on CentOS 7 and RHEL

Howto install ftp command on CentOS 7 and RHEL

CentOS

FTP command is ftp client by command line on Centos. You can install this as this topic.

Step 1:

[root@ithelpblog vsftpd]# ftp localhost
bash: ftp: command not found

Step 2: Install FTP client command on Centos 7

[root@ithelpblog vsftpd]# yum install ftp
Loaded plugins: fastestmirror
file:///mnt/iso/repodata/repomd.xml: [Errno 14] curl#37 – “Couldn’t open file /mnt/iso/repodata/repomd.xml”
Trying other mirror.
Loading mirror speeds from cached hostfile
* base: ftp.heanet.ie
* commercial-addons: elastix.cjp.mx
* elastix-base: elastix.cjp.mx
* elastix-extras: elastix.cjp.mx
* elastix-updates: elastix.cjp.mx
* epel: s3-mirror-eu-west-1.fedoraproject.org
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
Resolving Dependencies
–> Running transaction check
—> Package ftp.x86_64 0:0.17-66.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
ftp x86_64 0.17-66.el7 base 61 k

Transaction Summary
=====================================================================================================================================================================================================
Install 1 Package

Total download size: 61 k
Installed size: 96 k
Is this ok [y/d/N]: y
Downloading packages:
ftp-0.17-66.el7.x86_64.rpm | 61 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ftp-0.17-66.el7.x86_64 1/1
Verifying : ftp-0.17-66.el7.x86_64 1/1

Installed:
ftp.x86_64 0:0.17-66.el7

Complete!

Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>