How To Install tftp.x86_64 on Amazon Linux 2

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

Introduction

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

What is tftp.x86_64

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

We can use yum to install tftp.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.x86_64.

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

sudo yum -y install tftp.x86_64

How To Uninstall tftp.x86_64 on Amazon Linux 2

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

sudo yum remove tftp.x86_64

tftp.x86_64 Package Contents on Amazon Linux 2

/usr/bin/tftp
/usr/share/doc/tftp-5.2
/usr/share/doc/tftp-5.2/CHANGES
/usr/share/doc/tftp-5.2/README
/usr/share/doc/tftp-5.2/README.security
/usr/share/man/man1/tftp.1.gz

References

Summary

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