Install

From Tučňák Wiki
Jump to navigation Jump to search

Install

The primary URL for downloading Tucnak is https://tucnak.nagano.cz/download.php .

There you can find the source code, a Windows installer, an Android app and Debian packages. There may be binary packages for your distribution too, but they can be out of date.

Requirements

Tucnak needs the library libzia (it has the same version number as Tucnak), the library glib 2 and the library SDL 2 with SDL2_ttf (version 2.0.5 or newer). To compile from source code you need the development packages too (on Debian: libglib2.0-dev, libsdl2-dev, libsdl2-ttf-dev, libpng-dev). Other libraries are optional, ./configure detects them: libsndfile, ALSA, PortAudio, Hamlib, fftw3 and hidapi.

Installation from source code

Installation from source code is the universal way to install the program. You need the development tools for the C language on your computer. First build and install libzia, then Tucnak:

tar xzf libzia-<version>.tar.gz
cd libzia-<version>
./configure
make
sudo make install
cd ..
tar xzf tucnak-<version>.tar.gz
cd tucnak-<version>
./configure
make
sudo make install

The program is normally installed into the directory /usr/local/bin.

The configuration files are always saved in the directory ~/tucnak.

Install on Debian

All examples are for the AMD64 architecture. If you use another one, replace "amd64" with "arm64", "armhf" or "i386".

Repository

The simplest way is to add the line

deb [trusted=yes] https://tucnak.nagano.cz/debian binary-amd64/

to the file /etc/apt/sources.list.d/tucnak.sources . For the distributions trixie and later, use this:

Types: deb
URIs: https://tucnak.nagano.cz/debian
Suites: binary-amd64
Components:
Trusted: yes

After that use

sudo apt-get update
sudo apt-get install libzia tucnak

Download manually and install

Download the packages libzia_*_amd64.deb and tucnak_*_amd64.deb from the download page. Install them with this command:

sudo dpkg --install libzia_*_amd64.deb tucnak_*_amd64.deb

Download sources and create package

If there is no binary package for your system, create it from the source code. First install the packages libzia and libzia-dev (from the repository or the downloaded files). Then extract the source code of Tucnak and run:

./configure
make deb

The packages are created in the current directory.

Install on Ubuntu

Ubuntu is Debian-like. You can use the repository from the Debian section above, or install the downloaded files:

sudo apt install ./libzia_*_amd64.deb ./tucnak_*_amd64.deb

Install on Windows

Download the file Tucnak-<version>.exe from the download page and run it. Windows 7 SP1 or newer is needed (32 or 64 bit). The configuration and the logs are saved in C:\Users\<USER>\AppData\Roaming\Tucnak . For USB devices see USB devices under Windows.

Install on Android

Download the file Tucnak-<version>.apk from the download page and install it. Android 9 or newer is needed. See Android.

Install on MacOS

See MacOS.

Install on Arch Linux

You can build the AUR packages libzia and tucnak.

Install on openSUSE

openSUSE users can find rpm packages here https://download.opensuse.org/repositories/hamradio/ . Even simpler, search for "tucnak" at https://software.opensuse.org/search and follow the instructions for 1-click installation.

Install on Gentoo

Tucnak is also available on Gentoo Linux. You can find it in the portage main tree, in the category media-radio.

Just use

 emerge -av tucnak

to build it for your system. You can set the USE-flags 'alsa', 'ftdi', 'gpm' and 'hamlib' to enable the support for audio I/O via Alsa, USB support for the DAVAC-4 device, the console based mouse driver and Hamlib support.

At the moment it only supports the x86 and amd64 architectures. If you want to use it on other architectures (ppc, ...) please contact me by mail.

DL1JBE