The procedure to install htop on Amazon Linux 2 is pretty much the same as on every Red Hat distribution. Let’s take a look.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install htop on Amazon Linux 2
Step 1. Update and upgrade the amazon linux 2 packages.
sudo yum update
sudo yum upgrade
Step 2. Install htop.
sudo yum install htop
Step 3. Verify the installation.
htop
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.