Page 1 of 1

[HowTo] Install Latest Version of Glances – Linux System Monitoring Tool

Posted: Tue Sep 11, 2018 7:30 pm
by xorro
Glances Auto Install script: the total way

To install both dependencies and latest Glances production ready version (aka master branch), just enter the following command line:

Code: Select all

curl -L https://bit.ly/glances | /bin/bash
or

Code: Select all

wget -O- https://bit.ly/glances | /bin/bash
PyPI: The simple way

Glances is on PyPI. By using PyPI, you are sure to have the latest stable version.

To install, simply use pip:

Code: Select all

pip install glances
pip install psutil
Note: Python headers are required to install psutil. For example, on Debian/Ubuntu you need to install first the python-dev package. For Fedora/CentOS/RHEL install first python-devel package. For Windows, just install psutil from the binary installation file.

Note 2 (for the Wifi plugin): If you want to use the Wifi plugin, you need to install the wireless-tools package on your system.

You can also install the following libraries in order to use optional features (like the Web interface, exports modules…):

pip install glances[action,browser,cloud,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]

Upgrade/Update Glances to latest version :

To upgrade Glances to the latest version:

Code: Select all

pip install --upgrade glances
To remove Glances :

Code: Select all

pip uninstall glances
Easy Installation from base (not always latest version) :

You can also install glances from OS base :

Centos :

Code: Select all

yum install glances
Ubuntu :

Code: Select all

apt-get install glances
Start Glances:

To start Glances via command line type this command :

Code: Select all

glances