Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2012 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1669007 to your computer and use it in GitHub Desktop.
Save anonymous/1669007 to your computer and use it in GitHub Desktop.
Install Glances on Ubuntu 10.xx
#!/bin/bash
echo Installing Glances on Ubuntu 10.x
sudo apt-get update
sudo apt-get install pkg-config build-essential autoconf automake python libstatgrab-dev python-all-dev
sudo apt-get remove python-statgrab
mkdir -p /tmp/glances
cd /tmp/glances
wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz
tar zxvf pystatgrab-0.5.tar.gz
cd pystatgrab-0.5/
./setup.py build
sudo ./setup.py install
cd /tmp/glances
wget https://github.com/downloads/nicolargo/glances/glances-1.1.3.tar.gz
tar xvfz glances-1.1.3.tar.gz
cd glances-1.1.3
./configure
make
sudo make install
echo cleaning up
rm -r /tmp/glances
echo done!
echo start with glances.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment