How to install Gtop in CentOS7 and Ubuntu 18.04

Filed Under: Ubuntu

Gtop is a command-line system monitoring tool that displays in a graph format, a plethora of system metrics such as running processes, CPU utilization, network bandwidth, memory Usage, swap space, and Hard Disk usage. In this guide, you will learn how to install Gtop in Centos7 and Ubuntu 18.04.

Installation of Gtop in CentOS 7

The first step in installing Gtop on CentOS 7 is to install the epel repository. EPEL is short for Extra Packages for Enterprise Linux. As the name suggests, it ships extra packages and dependencies required for smooth running of applications.

# yum install epel-release

Sample output

Install Epel Release In Centos7

Next, install NodeJS. NodeJS is a powerful Javascript platform used for the development of powerful applications. To install NodeJS execute the command

# yum install nodejs

Sample output

Yum Install Nodejs

Next, install npm package manager as shown

# yum install npm

Finally, install gtop using the npm package manager.

# npm install gtop -g

Sample output

Install Gtop Using Npm

To launch gtop and view the system’s metrics run.

# gtop


Installation of Gtop in Ubuntu 18.04

Just like in CentOS 8, begin by installing NodeJS on Ubuntu.

# sudo apt install nodejs

Sample output

Install Nodejs

To check the version of NodeJS installed, run

node --version

Sample output

Check Version Of Nodejs

Next, install npm package Manager using the command as shown

# sudo apt install npm

Install Npm on Ubuntu 18.04

Using npm install the Gtop monitoring tool

npm install gtop -g

Sample output

Install Gtop Using Npm

Finally, launch Gtop



Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors