How to install Glances- a system monitor

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

How to install Glances- a system monitor

Post 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?
User avatar
aurlaent
Donor
Posts: 106
Joined: 1. Feb 2012, 19:46
Location: Sydney, Australia

Re: How to install Glances- a system monitor

Post 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.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: How to install Glances- a system monitor

Post 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.
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: How to install Glances- a system monitor

Post 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
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: How to install Glances- a system monitor

Post 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.
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: How to install Glances- a system monitor

Post by rsal »

Thanks for guiding.
Post Reply