How To Install lftp on CentOS 8

lftp is A sophisticated file transfer program A sophisticated file transfer program

Introduction

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

What is lftp

LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job control and uses the readline library for input. It has bookmarks, built-in mirroring, and can transfer several files in parallel. It is designed with reliability in mind. lftp 4.8.4 2.el8 x86_64 883 k lftp-4.8.4-2.el8.src.rpm appstream A sophisticated file transfer program http GPLv3+ LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job control and uses the readline library for input. It has bookmarks, built-in mirroring, and can transfer several files in parallel. It is designed with reliability in mind.

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

Install lftp 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 lftp using dnf by running the following command:

sudo dnf -y install lftp

Install lftp 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 lftp using yum by running the following command:

sudo yum -y install lftp

How To Uninstall lftp on CentOS 8

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

sudo dnf remove lftp

lftp Package Contents on CentOS 8

/etc/lftp.conf
/usr/bin/lftp
/usr/bin/lftpget
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/538814050c231675ba7932a3ad6713833b0c2a
/usr/lib/.build-id/04
/usr/lib/.build-id/04/54e77039de94fb773239bfd2117e4a7768ae34
/usr/lib/.build-id/14
/usr/lib/.build-id/14/75458d9971ae3771d24ab54d401a0dfc9a5535
/usr/lib/.build-id/19
/usr/lib/.build-id/19/3ae8ee9ef11ef3429cd89272ba7ca1adf72bb4
/usr/lib/.build-id/27
/usr/lib/.build-id/27/08e180b507a2d1945d438e322f49524d8bc7c0
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/8f68805b8a61a29d2520c782f1fe10320d03cb
/usr/lib/.build-id/61
/usr/lib/.build-id/61/1e81e6d02f49f2359e38058d6f526d1396b190
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/72fc9496dfa3551a1c35fd1094b02f26c44efa
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/aa7d565f61412dfc8c4d92aa8e337406ea5803
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/af676dd7d103e3ead7246ff1af99cf6fcb926b
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/781f1221db95fa88d7e573990008ba737b161f
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/34dcca739c305e05a718d4704e5a6e5a845213
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/beb973e9c9f523761bedc53986b02f16f344e8
/usr/lib/lftp
/usr/lib/lftp/4.8.4
/usr/lib/lftp/4.8.4/cmd-mirror.so
/usr/lib/lftp/4.8.4/cmd-sleep.so
/usr/lib/lftp/4.8.4/cmd-torrent.so
/usr/lib/lftp/4.8.4/liblftp-network.so
/usr/lib/lftp/4.8.4/liblftp-pty.so
/usr/lib/lftp/4.8.4/proto-file.so
/usr/lib/lftp/4.8.4/proto-fish.so
/usr/lib/lftp/4.8.4/proto-ftp.so
/usr/lib/lftp/4.8.4/proto-http.so
/usr/lib/lftp/4.8.4/proto-sftp.so
/usr/lib/liblftp-jobs.so.0
/usr/lib/liblftp-jobs.so.0.0.0
/usr/lib/liblftp-tasks.so.0
/usr/lib/liblftp-tasks.so.0.0.0
/usr/share/applications/lftp.desktop
/usr/share/doc/lftp
/usr/share/doc/lftp/BUGS
/usr/share/doc/lftp/COPYING
/usr/share/doc/lftp/ChangeLog
/usr/share/doc/lftp/FAQ
/usr/share/doc/lftp/FEATURES
/usr/share/doc/lftp/NEWS
/usr/share/doc/lftp/README
/usr/share/doc/lftp/README.debug-levels
/usr/share/doc/lftp/README.dnssec
/usr/share/doc/lftp/README.modules
/usr/share/doc/lftp/THANKS
/usr/share/doc/lftp/TODO
/usr/share/icons/hicolor/48x48/apps/lftp-icon.png
/usr/share/locale/cs/LC_MESSAGES/lftp.mo
/usr/share/locale/de/LC_MESSAGES/lftp.mo
/usr/share/locale/es/LC_MESSAGES/lftp.mo
/usr/share/locale/fr/LC_MESSAGES/lftp.mo
/usr/share/locale/it/LC_MESSAGES/lftp.mo
/usr/share/locale/ja/LC_MESSAGES/lftp.mo
/usr/share/locale/ko/LC_MESSAGES/lftp.mo
/usr/share/locale/pl/LC_MESSAGES/lftp.mo
/usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
/usr/share/locale/ru/LC_MESSAGES/lftp.mo
/usr/share/locale/uk/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
/usr/share/man/man1/lftp.1.gz
/usr/share/man/man1/lftpget.1.gz
/usr/share/man/man5/lftp.conf.5.gz
/etc/lftp.conf
/usr/bin/lftp
/usr/bin/lftpget
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/078c45bb48612344af4abdd8f750e0a0e508d1
/usr/lib/.build-id/16
/usr/lib/.build-id/16/c69d410bf7d30737c1438917f778213270bb71
/usr/lib/.build-id/48
/usr/lib/.build-id/48/b45c831782aa43cac1b0fd71e10bbe7e36ff4b
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/26da0e98881bb7819315af4691d0eb995a2b21
/usr/lib/.build-id/67
/usr/lib/.build-id/67/f7cef9c96258a3318e40a68a136e10f7ab53c2
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/089f17716faa400ed56fb88dc219ecd33cf256
/usr/lib/.build-id/72
/usr/lib/.build-id/72/a53499552818b1f91db22c64d15be9c2c62c0f
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/f5891a075f797531082c75a55596691520df89
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/6f6f74ad23e35abd04f277faac65e4033aafb3
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/ffa57713606500f7483c64511032596af57997
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/314f1094dce15e54869cc0c34a57694ea3aeec
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3b6203bab6a989f4d0fbaaebe60356c4fdac2d
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/280f174715d1bfea95774dddc5b926763cd972
/usr/lib64/lftp
/usr/lib64/lftp/4.8.4
/usr/lib64/lftp/4.8.4/cmd-mirror.so
/usr/lib64/lftp/4.8.4/cmd-sleep.so
/usr/lib64/lftp/4.8.4/cmd-torrent.so
/usr/lib64/lftp/4.8.4/liblftp-network.so
/usr/lib64/lftp/4.8.4/liblftp-pty.so
/usr/lib64/lftp/4.8.4/proto-file.so
/usr/lib64/lftp/4.8.4/proto-fish.so
/usr/lib64/lftp/4.8.4/proto-ftp.so
/usr/lib64/lftp/4.8.4/proto-http.so
/usr/lib64/lftp/4.8.4/proto-sftp.so
/usr/lib64/liblftp-jobs.so.0
/usr/lib64/liblftp-jobs.so.0.0.0
/usr/lib64/liblftp-tasks.so.0
/usr/lib64/liblftp-tasks.so.0.0.0
/usr/share/applications/lftp.desktop
/usr/share/doc/lftp
/usr/share/doc/lftp/BUGS
/usr/share/doc/lftp/COPYING
/usr/share/doc/lftp/ChangeLog
/usr/share/doc/lftp/FAQ
/usr/share/doc/lftp/FEATURES
/usr/share/doc/lftp/NEWS
/usr/share/doc/lftp/README
/usr/share/doc/lftp/README.debug-levels
/usr/share/doc/lftp/README.dnssec
/usr/share/doc/lftp/README.modules
/usr/share/doc/lftp/THANKS
/usr/share/doc/lftp/TODO
/usr/share/icons/hicolor/48x48/apps/lftp-icon.png
/usr/share/locale/cs/LC_MESSAGES/lftp.mo
/usr/share/locale/de/LC_MESSAGES/lftp.mo
/usr/share/locale/es/LC_MESSAGES/lftp.mo
/usr/share/locale/fr/LC_MESSAGES/lftp.mo
/usr/share/locale/it/LC_MESSAGES/lftp.mo
/usr/share/locale/ja/LC_MESSAGES/lftp.mo
/usr/share/locale/ko/LC_MESSAGES/lftp.mo
/usr/share/locale/pl/LC_MESSAGES/lftp.mo
/usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
/usr/share/locale/ru/LC_MESSAGES/lftp.mo
/usr/share/locale/uk/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
/usr/share/man/man1/lftp.1.gz
/usr/share/man/man1/lftpget.1.gz
/usr/share/man/man5/lftp.conf.5.gz

References

Summary

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