
Debian package installation:
============================
GKrellM is in the Debian archives, you can install using apt-get:

  apt-get update
  apt-get install gkrellm



RedHat package installation:
============================
Fresh install:
  rpm -i gkrellm-X.Y.Z-1.i386.rpm
or, upgrade
  rpm -U gkrellm-X.Y.Z-1.i386.rpm



Installation from source:
=========================
First untar the tarball:
------------------------
  tar -xvzf gkrellm-X.Y.Z.tar.gz
  cd gkrellm-X.Y.Z


Next compile GKrellM for your target system:
--------------------------------------------
Internationalization:
---------------------
Current translations available: ja.po fr.po
If you want to compile GKrellM with internationalization enabled, run
this script before any make commands:

	./enable_nls

This will set up GKrellM to use the Makefile that enables i18n.
Now just make and install.  Note:  BSD systems may need to use
GNU gmake instead of BSD make.

Linux
-----
  make
  make install


FreeBSD 2.x
-----------
  make freebsd2
  make install


FreeBSD 3.x and 4.x or later
----------------------------
  make freebsd
  make install


NetBSD (1.5 ALPHA2 tested so far)
---------------------------------
  make netbsd
  make install_netbsd

Note: install_netbsd makes gkrellm setgid kmem so it can be run non-root, ie:
  chgrp kmem /usr/local/bin/gkrellm
  chmod g+s /usr/local/bin/gkrellm

OpenBSD (1.5 ALPHA2 tested so far)
---------------------------------
  make openbsd
  make install_openbsd

Note: install_openbsd makes gkrellm setgid kmem so it can be run non-root, ie:
  chgrp kmem /usr/local/bin/gkrellm
  chmod g+sx /usr/local/bin/gkrellm


Other systems with libgtop:
---------------------------
If you have libgtop (plus developement libs) installed, you can make and
install a version that uses libgtop to read system data.   A libgtop version
will not have a disk, internet, or apm monitor because libgtop does not
report these stats.

--If you have gnome (plus libgnome-dev) and either libgtop 1.1.x or 1.0.x:
	make gnome-gtop
	make install

--If you have libgtop 1.1.x:
	make gtop
	make install

--If you have libgtop 1.0.x installed in /usr/include and /usr/lib:
	make gtop1.0
	make install

--If you have libgtop 1.0.x installed elsewhere, eg in /opt/gnome:
	make gtop1.0 GTOP_PREFIX=/opt/gnome
	make install
	

==========================================================================
Note, the default action for make install is to place the gkrellm binary
in /usr/local/bin and the gkrellm include files in /usr/local/include/gkrellm
If you want different locations, you can override them in the install step.
For example, to install in /usr/bin use:

	make install INSTALLDIR=/usr/bin INCLUDEDIR=/usr/include


==========================================================================
Other make flags:
-----------------
To compile a binary with debugging symbols (-g compiler option):

	make debug=1


==========================================================================
Customization of the i18n install:
----------------------------------
When you do the make install step, translation files will be installed
into the default locale dir.  If the LOCALEDIR environment variable is not
set then the default directory /usr/share/locale is used.  You can
override LOCALEDIR in two ways:

	make install LOCALEDIR=/usr/local/share/locale

or (for bash)
	export LOCALEDIR=/usr/local/share/locale
	make install

See the locale/README file for more details.
