
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-0.x.y-1.i386.rpm
or, upgrade
  rpm -U gkrellm-0.x.y-1.i386.rpm



Installation from source:
=========================
First untar the tarball:
------------------------
  tar -xvzf gkrellm-0.x.y.tar.gz
  cd gkrellm-0.x.y


Next compile GKrellM for your target system:
--------------------------------------------
Internationalization:
---------------------
Current translations available: ja.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.

Linux
-----
  make
  make install


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


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


Other systems with libgtop:
---------------------------
If you have libgtop 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.
--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.
