How To Install time.x86_64 on Amazon Linux 2

In this tutorial we learn how to install time.x86_64 in Amazon Linux 2. time.x86_64 is A GNU utility for monitoring a program’s use of system resources

Introduction

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

What is time.x86_64

The GNU time utility runs another program, collects information about the resources used by that program while it is running, and displays the results.

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

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

sudo yum -y install time.x86_64

How To Uninstall time.x86_64 on Amazon Linux 2

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

sudo yum remove time.x86_64

time.x86_64 Package Contents on Amazon Linux 2

/usr/bin/time
/usr/share/doc/time-1.7
/usr/share/doc/time-1.7/AUTHORS
/usr/share/doc/time-1.7/COPYING
/usr/share/doc/time-1.7/ChangeLog
/usr/share/doc/time-1.7/NEWS
/usr/share/doc/time-1.7/README
/usr/share/info/time.info.gz

References

Summary

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