HOWTO
# libgtop 2.12.2 (for Gnome 2.12.x)
# ==============
# I remove the libgtop-2.0.mo internationalization files below because the
# only language that I read/write (well) is English. If this is not the
# case for you, skip that part.
# If you ever want to uninstall libgtop, or remove files from an old
# version before installing a new one, cd into the source directory, run
# 'make uninstall' (as root), remove the source directory, then remove
# the tarball.
# Prerequisites:
#
grep
#
gawk
#
perl
#
sed
#
pkg-config
#
glib >= 2.6.0
#
popt
#
gettext
#
XFree86 or
X.org
cd
test -f installed/libgtop-2.12.2.tar.bz2 &&
mv installed/libgtop-2.12.2.tar.bz2 .
test ! -f libgtop-2.12.2.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/libgtop/2.12/libgtop-2.12.2.tar.bz2
# Verify tarball w/
md5sum:
echo "050e0d7834a3e73f693895e0a3130917 libgtop-2.12.2.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libgtop-*" -exec rm -r {} \;
tar xjvf ~/libgtop-2.12.2.tar.bz2
cd libgtop-2.12.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
# Become root to install it
su
make install
ldconfig
find /usr/share/locale -type f -name "libgtop-2.0.mo" -exec rm {} \;
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/libgtop-*.tar.*
mv libgtop-2.12.2.tar.bz2 installed/