How To Install htop.x86_64 on Amazon Linux 2

In this tutorial we learn how to install htop.x86_64 in Amazon Linux 2. htop.x86_64 is Interactive process viewer

Introduction

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

What is htop.x86_64

htop is an interactive text-mode process viewer for Linux, similar to top(1).

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

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

sudo yum -y install htop.x86_64

How To Uninstall htop.x86_64 on Amazon Linux 2

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

sudo yum remove htop.x86_64

htop.x86_64 Package Contents on Amazon Linux 2

/usr/bin/htop
/usr/share/doc/htop-2.0.2
/usr/share/doc/htop-2.0.2/AUTHORS
/usr/share/doc/htop-2.0.2/COPYING
/usr/share/doc/htop-2.0.2/ChangeLog
/usr/share/doc/htop-2.0.2/README
/usr/share/man/man1/htop.1.gz
/usr/share/pixmaps/htop.png

References

Summary

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