« Previous -
Version 33/37
(diff) -
Next » -
Current version
Dimitrios Symeonidis, 08/29/2011 08:48 pm
Fedora installation instructions¶
Gnuradio package from distribution¶
Gnuradio 3.2.2 is in the Fedora default repository since Fedora 14 (Laughlin). Use yum or your favorite package installed to install it:
yum install gnuradio usrp
Gnuradio from tarball¶
Install Fedora (FYI, we're known to work fine w/ Fedora 8, 9, 10, 11, 12 and 13), 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 gsl-devel python-devel pygsl \ python-cheetah python-lxml guile-devel [[PyOpenGL]] $ yum install [[PyQt]]4-devel qwt-devel qwtplot3d-qt4-devel
(The pkg names depend on the version of Fedora. These work for 12)
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 source code download and installation instructions.
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
The version of sdcc packaged for Fedora 11 (2.9.0) does not work with GNU Radio 3.2. It is possible to use the version packaged for Fedora 10 (2.8.0) available for i386 and x86_64. Alternatively sdcc 2.9.0 can be compiled from source available here.
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
Qt GUI¶
If you want to build the gr-qtgui package to use Qt plotting tools, install:
$ yum install qt4-devel qwt-devel qwtplot3d-qt4-devel PyQt4-devel PyQwt-devel
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.