Install
Install
The primary URL for tucnak downloading is http://tucnak.nagano.cz .
Download first source code or binary packages of Tucnak. There are maybe binary packages for your distribution but it can be out of date.
Tucnak requires glib 2 library. It's probably part of your distribution. If you want to compile Tucnak from source code you must have installed development version of glib library too (devel package - libglib2.0-dev*.deb (Debian), glib-devel*.rpm (RedHat), libglib2.0*.rpm (Mandrake)). The library you can download from www.gtk.org (not glib.org :-)
Since 2.0 it's mandatory to have installed SDL library (if you can compile it from source code you must have install devel packages too - libsdl1.2-dev*.deb (Debian), SDL-devel-1.2*.rpm (RedHat), libSDL1.2-devel*.rpm (Mandrake). You must install package tucnak1-data from section download.
Installation from source code
Installation from source code is universal way to install program. There must be installed developments tools for C language on your PC.
Extracting source code
tar xzf tucnak1-1.13.tar.gz
Changing directory:
cd tucnak1-1.13
Run configure:
./configure
Compile code by command:
make
And install tucnak as root:
make install
Program is normally installed into directory /usr/local/bin. Maybe you will add path to Tucnak binary. You can add line export HOME=/usr/local/bin:$HOME to end of file /etc/rc.local in bash shell and then restart rc.local (or restart system).
Configuration files are allways saved in ~/tucnak directory.
Install on Debian
Repository
Simplest way is to add lines
deb http://ok1zia.nagano.cz/debian/ok1zia binary-i386/ deb-src http://ok1zia.nagano.cz/debian/ok1zia source/
to your /etc/apt/sources.list . After it use
apt-get update
and install selected packages:
apt-get install tucnak2
Download manually and install
Download package tucnak1-1.13*_i386.deb. Install it by command:
dpkg --install tucnak1-1.13*_i386.deb
Download sources and create package
If binary package doesn't present, create them by extracting source code by commnad:
./configure make deb
Install on RedHat like distribution
Download package tucnak1-1.13*.i386.rpm, and install it by command:
rpm -i tucnak1-1.13*.i386.rpm
If rpm binary package doesn't exist, create them by extracting source code and execute commnads: (you must install package rpm-build first on Mandrake)
./configure make rpm
Source package RPM (SRPM) you can create by:
./configure make srpm
Files are saved in /usr/src/[redhat|RPM|packages|rpm]/* (depending on your distribution). Is necessary to have a write right to this directory.
Remark: Creating packages isn't perfectly tested. If you have any question for function or you know how to fix any mistake then write me, please.