Difference between revisions of "Install"
(→Install on Asus EEE laptop)
|Line 101:||Line 101:|
That's all !
That's all !
Revision as of 16:55, 20 January 2010
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
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.
Install on Gentoo
You can find Tucnak also on Gentoo Linux. You can find it in the portage main tree in category media-radio.
emerge -av tucnak2
to build it for your system. You can set USE-flags 'alsa', 'ftdi', 'gpm' and 'hamlib' to enable the support for Audio I/O via Alsa, USB support for coming DAVAC-4 device, console based mouse-driver and hamlib support.
At the moment it only supports x86 and amd64 architectures. If you want to use it on other architectures (ppc, ...) please contact me by mail.
Install on Arch Linux
You can build the AUR package tucnak2
Install on Asus EEE laptop
Asus EEE is using Xandros, which is commercial fork of Debian. Unfortunately used Xandros version corresponds with Debian Etch but current DEB's are build under Lenny. So I create, time after time, binary for EEE. It is compiled without libraries that are uncommon here. Namely libgpm (here is no virtual console), libhamlib and libftdi (EEE is expected to use without rig control).
Go to http://tucnak.nagano.cz/download.php and copy location of tucnak2-eee-2.32.tar.gz . Press Ctrl+Alt+T to run terminal and type:
$ wget http://tucnak.nagano.cz/tucnak2-2.32.tar.gz $ tar xvzf tucnak2-2.32.tar.gz $ tucnak/tucnak
That's all !
If you wish to create the eee package, look at eee.sh script in tucnak sources. You must run it under Debian Etch i386.