Change the language of webalizer statistics on Debian and Ubuntu Linux

The language of the generated Webalizer statistics is statically compiled into the Webalizer binary. To change the language, Webalizer has to be recompiled. In the following example, I will recompile Webalizer to change the language to german.

Uninstall Webalizer and install the GD library:

apt-get remove webalizer
apt-get install libgd2-xpm-dev

Download the latest Webalizer sources and uncompress the tar archive:

cd /tmp
wget ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-08-src.tgz
tar xzf webalizer-2.23-08-src.tgz
cd webalizer-2.23-08

Reconfigure and compile Webalizer:

./configure --with-language=german
make
make install

Create a symlink so that other applications find the Webalizer binary in the common place:

ln -s /usr/local/bin/webalizer /usr/bin/webalizer

Cleanup:

rm -f /tmp/webalizer-2.23-08-src.tgz
rm -rf /tmp/webalizer-2.23-08

Thanks to planet_fox for this FAQ.

facebooktwittergoogle_plusredditlinkedinmail

One thought on “Change the language of webalizer statistics on Debian and Ubuntu Linux”

  1. Hi,
    this one really does not work. there are sytax errors on this site and the setup creates itself a symlink:

    root@www:/tmp/webalizer-2.01-10# make install
    /usr/bin/install -c webalizer /usr/local/bin/webalizer
    /usr/bin/install -c -m 644 webalizer.1 /usr/local/man/man1/webalizer.1
    /usr/bin/install -c -m 644 sample.conf /etc/webalizer.conf.sample
    rm -f /usr/local/bin/webazolver
    ln -s /usr/local/bin/webalizer /usr/local/bin/webazolver

    Also the folder /man1 does not exist,you must create it yourself.

    But the language did not change at all to german.

    greetz

    teeshop

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>