Install: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
{{Languages}} | |||
=Install= | =Install= | ||
The primary URL for tucnak downloading is http://tucnak.nagano.cz/download.php . | The primary URL for tucnak downloading is http://tucnak.nagano.cz/download.php . |
Revision as of 19:05, 4 March 2008
Install
The primary URL for tucnak downloading is http://tucnak.nagano.cz/download.php .
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).
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.
tar xzf tucnak2-2.07.tar.gz cd tucnak2-2.07 ./configure make make install
Program is normally installed into directory /usr/local/bin. Maybe you will need to 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 apt-get install tucnak2
Download manually and install
Download package tucnak2-2.07*_i386.deb. Install it by command:
dpkg --install tucnak2-2.07*_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 tucnak2-2.07*.i386.rpm, and install it by command:
rpm -i tucnak2-2.07*.i386.rpm
If rpm binary package doesn't exists, 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 RPM packages isn't perfectly tested. If you have any question for function or you know how to fix any mistake then write me, please.