Install: Difference between revisions

From Tučňák Wiki
Jump to navigation Jump to search
DM3DA (talk | contribs)
opensuse: tested for 11.3
DM3DA (talk | contribs)
m Ubuntu
Line 46: Line 46:
==Download sources and create package==
==Download sources and create package==


If binary package doesn't present, create them by extracting source code by commnad:
If binary package doesn't present, create them by extracting source code by command:


  ./configure
  ./configure
  make deb
  make deb
=Install on Ubuntu=
The easiest way to install Tucnak on Ubuntu is to select the software in the Ubuntu Software Centre. Simply search for "tucnak" and click on install.


=Install on RedHat like distribution=
=Install on RedHat like distribution=

Revision as of 09:50, 30 October 2010

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 command:

./configure
make deb

Install on Ubuntu

The easiest way to install Tucnak on Ubuntu is to select the software in the Ubuntu Software Centre. Simply search for "tucnak" and click on install.

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.

Just use

 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.


DL1JBE

Install on Arch Linux

You can build the AUR package tucnak2

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 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), libfftw3 (seems to be not present in Xandros) 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:

/home/user> wget http://tucnak.nagano.cz/tucnak2-eee-2.32.tar.gz
/home/user> tar xvzf tucnak2-eee-2.32.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.