Dnf install htop 安装

可以使用 yum install htop 命令进行安装:

服务器输出:

[fedora@vps-f2a02f66 ~]$ sudo dnf  install htop
Last metadata expiration check: 2:43:38 ago on Mon 01 Apr 2024 06:08:55 PM EDT.
Dependencies resolved.
=================================================================================================================================================================================================================================
 Package                                                Architecture                                       Version                                                     Repository                                           Size
=================================================================================================================================================================================================================================
Installing:
 htop                                                   x86_64                                             3.3.0-1.fc38                                                updates                                             200 k
Installing dependencies:
 hwloc-libs                                             x86_64                                             2.10.0-1.fc38                                               updates                                             2.1 M

Transaction Summary
=================================================================================================================================================================================================================================
Install  2 Packages

Total download size: 2.3 M
Installed size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): htop-3.3.0-1.fc38.x86_64.rpm                                                                                                                                                              3.3 MB/s | 200 kB     00:00    
(2/2): hwloc-libs-2.10.0-1.fc38.x86_64.rpm                                                                                                                                                        19 MB/s | 2.1 MB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                            5.5 MB/s | 2.3 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                         1/1 
  Installing       : hwloc-libs-2.10.0-1.fc38.x86_64                                                                                                                                                                         1/2 
  Installing       : htop-3.3.0-1.fc38.x86_64                                                                                                                                                                                2/2 
  Running scriptlet: htop-3.3.0-1.fc38.x86_64                                                                                                                                                                                2/2 
  Verifying        : htop-3.3.0-1.fc38.x86_64                                                                                                                                                                                1/2 
  Verifying        : hwloc-libs-2.10.0-1.fc38.x86_64                                                                                                                                                                         2/2 

Installed:
  htop-3.3.0-1.fc38.x86_64                                                                                    hwloc-libs-2.10.0-1.fc38.x86_64                                                                                   

Complete!
[fedora@vps-f2a02f66 ~]$ 

至此,安装已经完成。