How To Install xrestop.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xrestop.x86_64 in Amazon Linux 2. xrestop.x86_64 is X Resource Monitor

Introduction

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

What is xrestop.x86_64

A utility to monitor application usage of X resources in the X Server, and display them in a manner similar to ’top’. This is a very useful utility for tracking down application X resource usage leaks.

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

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

sudo yum -y install xrestop.x86_64

How To Uninstall xrestop.x86_64 on Amazon Linux 2

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

sudo yum remove xrestop.x86_64

xrestop.x86_64 Package Contents on Amazon Linux 2

/usr/bin/xrestop
/usr/share/doc/xrestop-0.4
/usr/share/doc/xrestop-0.4/AUTHORS
/usr/share/doc/xrestop-0.4/COPYING
/usr/share/doc/xrestop-0.4/NEWS
/usr/share/doc/xrestop-0.4/README
/usr/share/man/man1/xrestop.1.gz

References

Summary

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