How to install htop on CentOS Linux 8

To install htop on CentOS Linux 8, you can use the package manager yum.

  1. First, ensure that the EPEL (Extra Packages for Enterprise Linux) repository is enabled by running the command:
sudo yum install epel-release
  1. Once the EPEL repository is enabled, you can install htop by running the following command:
sudo yum install htop

This will install htop and its dependencies.

  1. Once the installation is complete, you can run htop by typing htop in the terminal.

Alternatively, you can also use DNF package manager to install htop, DNF is the default package manager for Centos8.

sudo dnf install htop

Note: You may need to run the above commands with superuser privileges, by prefixing sudo or logging in as the root user.

Leave a Comment