下載最新版的HTOPruby
./configure && make && make installide
(這時候若是沒有安裝gcc,會提示:spa
checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/root/htop-1.0.2': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
請安裝yum install -y gcc,接下來還會提示:.net
configure: error: You may want to use --disable-unicode or install libncursesw.
請安裝yum install -y ncurses-devel)code