How To Install tftp-server.x86_64 on Amazon Linux 2

In this tutorial we learn how to install tftp-server.x86_64 in Amazon Linux 2. tftp-server.x86_64 is The server for the Trivial File Transfer Protocol (TFTP)

Introduction

In this tutorial we learn how to install tftp-server.x86_64 on Amazon Linux 2.

What is tftp-server.x86_64

The Trivial File Transfer Protocol (TFTP) is normally used only for booting diskless workstations. The tftp-server package provides the server for TFTP, which allows users to transfer files to and from a remote machine. TFTP provides very little security, and should not be enabled unless it is expressly needed.

We can use yum to install tftp-server.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tftp-server.x86_64.

Install tftp-server.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tftp-server.x86_64 using yum by running the following command:

sudo yum -y install tftp-server.x86_64

How To Uninstall tftp-server.x86_64 on Amazon Linux 2

To uninstall only the tftp-server.x86_64 package we can use the following command:

sudo yum remove tftp-server.x86_64

tftp-server.x86_64 Package Contents on Amazon Linux 2

/etc/xinetd.d/tftp
/usr/lib/systemd/system/tftp.service
/usr/lib/systemd/system/tftp.socket
/usr/sbin/in.tftpd
/usr/share/doc/tftp-server-5.2
/usr/share/doc/tftp-server-5.2/CHANGES
/usr/share/doc/tftp-server-5.2/README
/usr/share/doc/tftp-server-5.2/README.security
/usr/share/man/man8/in.tftpd.8.gz
/usr/share/man/man8/tftpd.8.gz
/var/lib/tftpboot

References

Summary

In this tutorial we learn how to install tftp-server.x86_64 on Amazon Linux 2 using yum.