- 1 Install
- 2 Installation from source code
- 3 Install on Debian
- 4 Install on Ubuntu
- 5 Install on RedHat like distribution
- 6 Install on Gentoo
- 7 Install on Arch Linux
- 8 Install on openSUSE
- 9 Install on Asus EEE laptop
- 10 Compile on Ubuntu "Karmic" (9.10)
- 11 Install on Ubuntu "Jaunty" (9.04)
- 12 Install on Ubuntu "Intrepid" (8.10)
- 13 Compile on Ubuntu 'Hardy' (8.04 LTS)
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
All examples are for AMD64 architecture. I you use other replace "amd64" with "i386" or "armhf".
Simplest way is to add lines
deb [trusted=yes] http://ok1zia.nagano.cz/debian/ok1zia binary-amd64/ deb-src [trusted=yes] http://ok1zia.nagano.cz/debian/ok1zia source/
to your /etc/apt/sources.list . After it use
sudo apt-get update sudo apt-get install libzia tucnak
On Debian 9 Stretch, there is libpng version 1.6. But Tucnak is compiled against 1.2. There is no transitional package, you have to install libpng 1.2 from Jessie.
Download manually and install
Download packages libzia-4.09*_amd64.deb and tucnak-4.09*_amd64.deb. Install they by command:
dpkg --install libzia-4.09*_amd64.deb tucnak-4.09*_amd64.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 Ubuntu
Debian packages can either be installed from the sources (same as Debian section above). Alternatively, they can be installed with gdebi. You may need to install gdebi from the Ubuntu Software Centre. Download the latest deb-file from http://tucnak.nagano.cz/download.php. Use tucnak2-*_i386.deb for a 32-bit system, tucnak2-*_amd64.deb for a 64-bit system.
Start gdebi, e. g. by command:
Open the file tucnak2-*.deb. Ignore the recommendation to install an older version from a software channel. Then click on "Install Package".
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 packages libzia and tucnak
Install on openSUSE
openSUSE users can find rpm packages here http://download.opensuse.org/repositories/hamradio/ Even simpler, search for "tucnak" at http://software.opensuse.org/search and follow the instructions for 1-click installation.
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 Squeeze. 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) and libftdi (EEE is expected to use without rig control).
Go to http://tucnak.nagano.cz/download.php and copy location of tucnak3-eee-3.14.tar.gz . Press Ctrl+Alt+T to run terminal and type:
/home/user> wget http://tucnak.nagano.cz/tucnak2-eee-3.14.tar.gz /home/user> tar xvzf tucnak2-eee-3.14.tar.gz /home/user> 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.
Tip: Look at http://wiki.eeeuser.com/ for more info about EEE.
Many thanks to Zdenek OK1VKZ for lending of laptop.