How To Install ncftp on CentOS 8

ncftp is Improved console FTP client

Introduction

In this tutorial we learn how to install ncftp on CentOS 8.

What is ncftp

Ncftp is an improved FTP client. Ncftp’s improvements include support for command line editing, command histories, recursive gets, automatic anonymous logins, and more.

We can use yum or dnf to install ncftp on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ncftp.

Install ncftp on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ncftp using dnf by running the following command:

sudo dnf -y install ncftp

Install ncftp on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ncftp using yum by running the following command:

sudo yum -y install ncftp

How To Uninstall ncftp on CentOS 8

To uninstall only the ncftp package we can use the following command:

sudo dnf remove ncftp

ncftp Package Contents on CentOS 8

/usr/bin/ncftp
/usr/bin/ncftpbatch
/usr/bin/ncftpbookmarks
/usr/bin/ncftpget
/usr/bin/ncftpls
/usr/bin/ncftpput
/usr/bin/ncftpspooler
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/bed3b1eefcf8c071d0e9821c2df5a7e6c5ec39
/usr/lib/.build-id/34
/usr/lib/.build-id/34/7c90576246ea2152d46fccc69965921b27315c
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/a6df9dc664132a039fef4952ce2195b6467565
/usr/lib/.build-id/8c/a6df9dc664132a039fef4952ce2195b6467565.1
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/cc6b1224c18cfb7b4c5c1d1489ad1f5b57625a
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/0b126741f7397869940da5614939dd59df7d39
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/3892e69e5af7809893acf68053d301f28c13a0
/usr/share/doc/ncftp
/usr/share/doc/ncftp/CHANGELOG.txt
/usr/share/doc/ncftp/FIREWALLS_AND_PROXIES.txt
/usr/share/doc/ncftp/LICENSE.txt
/usr/share/doc/ncftp/READLINE.txt
/usr/share/doc/ncftp/README.txt
/usr/share/doc/ncftp/html
/usr/share/doc/ncftp/html/index.html
/usr/share/doc/ncftp/html/ncftp.html
/usr/share/doc/ncftp/html/ncftpbatch.html
/usr/share/doc/ncftp/html/ncftpget.html
/usr/share/doc/ncftp/html/ncftpls.html
/usr/share/doc/ncftp/html/ncftpput.html
/usr/share/doc/ncftp/html/ncftpspooler.html
/usr/share/doc/ncftp/what_changed_between_v2_v3.txt
/usr/share/man/man1/ncftp.1.gz
/usr/share/man/man1/ncftpbatch.1.gz
/usr/share/man/man1/ncftpget.1.gz
/usr/share/man/man1/ncftpls.1.gz
/usr/share/man/man1/ncftpput.1.gz
/usr/share/man/man1/ncftpspooler.1.gz

References

Summary

In this tutorial we learn how to install ncftp on CentOS 8 using yum and dnf.