linux环境htop安装

1、获取htop源码包

git clone https://github.com/htop-dev/htop

2、安装依赖

yum install ncurses-devel gcc

3、解压源码包,编译安装

 ./configure

 make -j 8

make install

 

-----------------------------------------------------------------------------------------------

-------------------------------源码安装方式----------------------------------------------

安装支持的组件

wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
tar zxvf ncurses-5.9.tar.gz
cd ncurses-5.9
. /configure
make
make install
安装htop
wget http: //sourceforge .net/projects/htop/files/htop/1.0.2/htop-1.0.2.tar.gz
tar zxvf htop-1.0.2.tar .gz
cd htop-1.0.2
. /configure
make
make install
posted @   swore  阅读(557)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· 2 本地部署DeepSeek模型构建本地知识库+联网搜索详细步骤
点击右上角即可分享
微信分享提示