Fedora installation instructions

Install Fedora (FYI, we now work fine w/ Fedora 9), and then:

$ yum groupinstall "Engineering and Scientific" "Development Tools"
$ yum install fftw-devel cppunit-devel wxPython-devel libusb-devel guile boost-devel alsa-lib-devel numpy

You now have the basic requirements for building GNU Radio. Additional requirements are listed below. Notice that some are optional. Once you have all the requirements installed, you can proceed with the installation instructions included in the GNU Radio distribution or on-line: gnuradio/trunk/README.

USRP

To build the firmware for the microcontroller on the USRP, you also need the Small Device C Compiler. On Fedora Core 6 and later sdcc is available from the repository, and can therefore be installed by running:

$ yum install sdcc

Some of the names of the binaries in sdcc are very generic, and they have therefore been moved to /usr/libexec/sdcc on Fedora, and symlinks prefixed with sdcc- have been created in /usr/bin. This might be a problem for existing programs, but the solution is simply to add /usr/libexec/sdcc to your PATH before building GNU Radio:

$ export PATH=/usr/libexec/sdcc:$PATH

On earlier versions of Fedora you have to download the Small Device C Compiler, build and install yourself.

Documentation

If you wish to be able to generate the HTML documentation:

$ yum install xmlto graphviz

Audio

Post installation instructions

UDEV

Follow these directions to configure non-root access to the USRP.

Python

The default install path for GNU Radio is /usr/local, but this is not part of the default Python module search path. The easiest way to that is to add this to ~/.bashrc or in the personal initialization file for your favourite shell.

Determine what version of python you are using:

$ python -V
Python 2.5

Then set the PYTHONPATH environment variable to a value that includes your installation prefix and the appropriate python version. E.g.,

x86 (32-bit) systems:

export PYTHONPATH=/usr/local/lib/python2.5/site-packages

X86-64 systems:

export PYTHONPATH=/usr/local/lib64/python2.5/site-packages

You can also run this from the command line before running GNU Radio applications.