- Install and enable the EPEL Repository
# yum install epel-release CentOS-8 - AppStream 1.9 kB/s | 4.3 kB 00:02 CentOS-8 - AppStream 1.6 MB/s | 6.0 MB 00:03 CentOS-8 - Base 1.7 kB/s | 3.9 kB 00:02 CentOS-8 - Base 2.0 MB/s | 7.9 MB 00:03 CentOS-8 - Extras 678 B/s | 1.5 kB 00:02 CentOS-8 - PowerTools 1.8 kB/s | 4.3 kB 00:02 CentOS-8 - PowerTools 518 kB/s | 1.8 MB 00:03 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: epel-release noarch 8-5.el8 extras 22 k Transaction Summary ================================================================================ Install 1 Package Total download size: 22 k Installed size: 30 k Is this ok [y/N]: y Downloading Packages: epel-release-8-5.el8.noarch.rpm 20 kB/s | 22 kB 00:01 -------------------------------------------------------------------------------- Total 9.5 kB/s | 22 kB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-5.el8.noarch 1/1 Running scriptlet: epel-release-8-5.el8.noarch 1/1 Verifying : epel-release-8-5.el8.noarch 1/1 Installed: epel-release-8-5.el8.noarch
- Search for the htop package
# yum search htop Extra Packages for Enterprise Linux 8 - x86_64 501 kB/s | 2.2 MB 00:04 Last metadata expiration check: 0:00:01 ago on Sat 12 Oct 2019 04:07:13 PM EDT. ========================== Name Exactly Matched: htop ========================== htop.x86_64 : Interactive process viewer
- Install the htop package
# yum install htop Last metadata expiration check: 0:03:36 ago on Sat 12 Oct 2019 04:07:13 PM EDT. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: htop x86_64 2.2.0-6.el8 epel 112 k Transaction Summary ================================================================================ Install 1 Package Total download size: 112 k Installed size: 263 k Is this ok [y/N]: y Downloading Packages: htop-2.2.0-6.el8.x86_64.rpm 98 kB/s | 112 kB 00:01 -------------------------------------------------------------------------------- Total 49 kB/s | 112 kB 00:02 warning: /var/cache/dnf/epel-6519ee669354a484/packages/htop-2.2.0-6.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY Extra Packages for Enterprise Linux 8 - x86_64 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x2F86D6A1: Userid : "Fedora EPEL (8) <epel@fedoraproject.org>" Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 Is this ok [y/N]: y Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : htop-2.2.0-6.el8.x86_64 1/1 Running scriptlet: htop-2.2.0-6.el8.x86_64 1/1 Verifying : htop-2.2.0-6.el8.x86_64 1/1 Installed: htop-2.2.0-6.el8.x86_64 Complete!
Was this helpful?
0 / 1