How to install Linrad under Linux and PC-BSD.
(Part of SM 5 BSZ home page)
(June 16 2011)

Install as a regular user.

As a regular user you would probably like to install linrad-xx.yy in the directory /home/current_user/linrad/linrad-xx.yy/

To do that, place lirxx-yy.tbz in the directory /home/current_user/linrad/, log into that directory and type tar xvfj lirxx-yy.tbz. That will create the linrad directory.

Descend into the Linrad directory ant type sudo ./configure. Follow the instructions you see on the screen. The configure script may give hints on how to install missing packages. As a regular user you would have to type sudo in front of all such commands to get the permission to install software.

Install as root.

As root you may place your linrad directory whereever you want. Place lirxx-yy at a place of your choice. Log into that directory and type tar xvfj lirxx-yy.tbz. That will create the linrad directory as a sub-directory.

Descend into the Linrad directory ant type ./configure. Follow the instructions you see on the screen.

Additional information.

This link: obsolete information may be useful if you want to install old Linrad versions. snd-aloop is useful if you want to send the output of linrad into another program.

There are several make commands:

make give some help.
make linrad produce linrad for terminal mode with svgalib.
make xlinrad produce xlinrad for X11.
make linrad64 (64 bit OS only) produce linrad64 for terminal mode with svgalib.
make xlinrad64 (64 bit OS only) produce xlinrad64 for X11.
make linrad.exe Cmpile linrad for Windows.
make sdr14 compile the driver for SDR-14 and SDR-IQ and add scripts that will install the driver after a reboot.
make svgalib Add a script that will install the svgalib helper module after a reboot.
make configure.exe Compile the configure program for Windows.
make sim Produce programs (for Linux as well as for Windows) that can be used to convert various .wav file formats to fit other SDR software.

Drive routines and hardware.

the WSE converters
The WSE units need a parallel port. This link: How to add a parallel port discusses some of the possible solutions for adding a parallel port.

Perseus
libperseus-sdr.so is needed if you want to use the Perseus. It has to be installed from source code with this package: libperseus-0.4.bsz.tbz (930253 bytes) Unpack and execute "./configure", "make" and "make install" (as root)

libperseus-sdr uses libusb-1.0 which may have to be installed from source code on old Linux distributions. You can get it here: libusb-1.0.6.tar.bz2 (322956 bytes) Unpack and execute "./configure", "make" and "make install" (as root)

Soft66
libsoft66.so is needed if you want to use the Soft66 series hardware. It has to be installed from source and the libftdi package has to be present on the system. Get libftdi here if the package manager of your system does not supply it:
libftdi-0.18.tar.gz (398380 bytes) Unpack and execute "./configure", "make" and "make install" (as root)

Get the source code of libsoft66 here: soft66-0.1.3-test.tar.bz2 (421840 bytes Unpack and execute "./configure", "make" and "make install" (as root)

Cross compile for Windows under Linux.

Linrad can be compiled for Windows 98, Windows 2000 Windows XP, Windows Vista and Windows 7 on Linux platforms.

To produce linrad.exe from source code with a simple make command (make linrad.exe) under Linux, one has to have mingw32 installed. That is of cource necessary also in order to compile any of the other .exe files.

Cross compilation of Linrad under Linux will require all the libraries that Linrad might use. This will generate the standard linrad.exe with support for everything.

palir-02.dll is needed in the Linrad directory. (palir-01.dll is also possible.)

The following files have to be in place in the MinGW directory: libusb.a, libftdi.a, libsoft66.a, usb.h, ftdi.h and soft66.h. You can get them from here: linrad-libs.tbz (2 528 213 bytes) The major Linux distributions have the mingw32 as well as the libusb package. If you can not find them, one way of getting the necessary files installed is to download mingw32bsz2.tar.bz2 (11 922 776 bytes) and unpack it from the root directory. The tar xvfj command will install the mingw32 files in several directories under /usr. All the library files contained in linrad-libs will also be installed. To get palir-xx.dll into your Linrad directory, download palir-02.dll.bz2 (462419 bytes, March 2011) or palir-01.dll.bz2 (457609 bytes, Oct 2009 ) to your Linrad directory and unpack it there with the bunzip2 palir-xx.dll.tbz command.


To SM 5 BSZ Main Page