然后 yum
直接安装 htop
:
[root@mysrs ~]# yum install htop
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 7.6 kB 00:00:00
* base: mirrors.aliyun.com
* epel: mirrors.bfsu.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
epel | 4.7 kB 00:00:00
(1/3): epel/x86_64/group_gz | 97 kB 00:00:00
(2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(3/3): epel/x86_64/primary_db | 7.0 MB 00:00:00
正在解决依赖关系
--> 正在检查事务
---> 软件包 htop.x86_64.0.2.2.0-3.el7将被 安装
--> 解决依赖关系完成
依赖关系解决
=============================================================================================
Package架构 版本 源 大小
==============================================================================================
正在安装:
htop x86_64 2.2.0-3.el7 epel 103 k
事务概要
===============================================================================================
安装 1软件包