04 Dec 2017

ಠ_ಠ!!! Prepare for all interviews ...


OS

install htop on centos7

 cd /tmp; curl -O http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/h/htop-2.0.2-1.el7.x86_64.rpm
 sudo rpm -ivh htop-2.0.2-1.el7.x86_64.rpm

Note that in the url:

  • dl.fedoraproject.org should be some home repository containing rpm packages for centos
  • 7 indicates the version of centos
  • x86_64 indicates the arch type (could be found by uname -a)
  • h is the first char of the name of the package