Centos 6, 7, 8 에서 htop 설치

0
425

Centos 8 에서 htop를 설치하기 위해서는 우선 EPEL 저장소를 추가해야 합니다.

# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

설치가 완료되면 업데이트를 실행

# dnf update

htop 설치

# dnf install htop

htop 정보 확인

# dnf info htop

CentOS 7 또는 6 버전 인 경우

/**
 * CentOS 7 Htop install
 */
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-*.rpm
yum -y install htop

/**
 * CentOS 6 Htop install
 */
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -ivh epel-*.rpm
yum -y install htop