Page 1 of 1

How to install Glances- a system monitor

Posted: 11. Dec 2013, 08:18
by rsal
I want to install Glances- a system monitoring application, but it is not there in Gslapt / Sourcery. Following are some links:
http://nicolargo.github.io/glances/
http://linux.softpedia.com/get/System/M ... 8055.shtml
Apparently, slackbuild is available but it is appearing in Sourcery application:
http://slackbuilds.org/repository/14.1/system/glances/
https://github.com/tibux/SlackBuilds/bl ... SlackBuild

It can be installed manually also: http://www.gilandre.net/cgi-bin/wiki.cg ... allGlances

What will be the best method?

Re: How to install Glances- a system monitor

Posted: 11. Dec 2013, 10:54
by aurlaent
The slackbuild is for slackware 14.1
You could try downloading it and the associated files to see if it works.
Read the README file for dependencies.

You could use slkbuild to create your own slackbuild and package.

Re: How to install Glances- a system monitor

Posted: 11. Dec 2013, 11:13
by mimosa
Or just install with pip; make sure the latter is installed first:

Code: Select all

#slapt-get -i pip
#pip install Glances
It depends on psutil which will be automatically installed by pip if you don't have it, or you can install it from src first instead:

Code: Select all

#slapt-src -i psutil 
The disadvantage of pip is packages aren't tracked by Salix's package management system.

Re: How to install Glances- a system monitor

Posted: 11. Dec 2013, 12:44
by rsal
The disadvantage of pip is packages aren't tracked by Salix's package management system.
Since slackbuild is available, is it possible to install Glances so that it is tracked by Salixos package management system?
http://slackbuilds.org/repository/14.1/system/glances/
https://github.com/tibux/SlackBuilds/bl ... SlackBuild

Re: How to install Glances- a system monitor

Posted: 11. Dec 2013, 12:57
by mimosa
Well, you can try it - but when I tried to build the psutil slackbuild, it didn't work. The Glances one won't work without that.

If you're going to use pip, you can keep track of things by doing

Code: Select all

pip freeze
which lists exactly what's installed (whether by pip or not) in python.

Re: How to install Glances- a system monitor

Posted: 12. Dec 2013, 10:24
by rsal
Thanks for guiding.