Installing 'glances' on Debian-Testing
I want to install 'glances' system-monitor on Debian-Testing:
http://linux.softpedia.com/get/Syste...es-78055.shtml https://github.com/nicolargo/glances It is not in Debian-testing repository (though it is available with many other distributions- an unusual situation). It can be installed with source tar ball and the commands: configure, make, sudo make install. But then it will not be tracked by the package management system. I tried using src2pkg software to make a Deb file (which was created). But the Deb file could not be installed by gdebi or dpkg -i commands due to errors (EOF after Description). What is the best method to install it? Thanks for your help. |
Quote:
|
It is in Sid - http://packages.debian.org/unstable/utils/glances
Check out the dependencies and the howto section at forums.debian.net for how to backport packages using already debianized sources (assuming you want it on squeeze). |
I was more interested in methods of installing such a package. What is wrong in installing with commands configure, make and sudo make install? If I need to remove it later I can do so by 'sudo make uninstall' command.
|
Well, that is why a package management system exists - to manage the addition and removal of software in a sane and predictable manner.
You can certainly use 'make install' but there is no guarantee you are not overwriting already installed libs or binaries or introducing version conflicts, and later apt installs or removals could also overwrite or remove your installed files. Basically you need to babysit all that yourself. Also, just noticed you are on testing so the sid package could well be installable without issues - http://packages.qa.debian.org/g/glances.html this implies it is not in testing due only to it arriving post-freeze. |
You can install from the Sid repo by adding it to your sources.list. You need to comment it our when not using it or you may get a surprise upgrade.
You will of coarse need to run "apt-get update" or better in my mind for this particular job "aptitude update". To install a package from sid you would then, in apt-get, run; Code:
apt-get -t sid install <package name> Code:
aptitude install <package name> -t sid If you keep putting alien packages on a testing install you WILL have problems. If you can't find it in the testing repo check what is available in sid or even experimental and use them instead of any 3rd party package. If you insist on some alien package learn to build a .deb out of it and use dpkg to install it. |
I tried installing glances with checkinstall but failed.
The output of './configure': Code:
abcde@debian:~/0-glances-system-monitor/glances-1.3.2$ ./configure The output of 'make': Code:
abcde@debian:~/0-glances-system-monitor/glances-1.3.2$ make The output of 'sudo checkinstall': Code:
abcde@debian:~/0-glances-system-monitor/glances-1.3.2$ sudo checkinstall |
Install the package from sid so that it is actually compatible with your system?
|
For installing from sid repos, I think I need to do following steps:
1. Add following to the /etc/apt/sources.list: Code:
deb http://ftp.debian.org/debian/ unstable main contrib non-free 3. sudo aptitude install glances -t sid 4. comment out sid repos in sources.list file so that it is not used any further updating/upgrading. Please correct me if I am wrong. |
Yes, except there is no "updates" or "proposed-updates" sections for sid, and you don't need to use -t (unless you have set up a /etc/apt/preferences to lower the priority of the unstable packages).
edit: and you don't need sudo if you are root ;) |
Yes, it worked. It installed following packages: glances python-jinja2 python-markupsafe python-psutil. I hope there will be no further problems. Thanks for your help.
|
All times are GMT -5. The time now is 11:21 PM. |