« Previous - Version 25/59 (diff) - Next » - Current version
Johnathan Corgan, 10/23/2007 01:13 am


Building GNU Radio

To build and install GNU Radio, you may either download a [wiki:Release3.1Branch release tarball], or you may use the Subversion client software to check out code from our Subversion repository. Some operating systems may have binary installation packages available; see Operating System Specific Instructions below.

To checkout the latest stable release code, enter this on the command line: {{{
$ svn co http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio
}}}

To instead checkout the latest code from the development trunk, enter this on the command line: {{{
$ svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio
}}}

In general, if you are developing GNU Radio applications which need to depend on the stability of the features and API of GNU Radio components, it is '''recommended''' that you use the 3.1 [wiki:Release3.1Branch stable release] series.

This page assumes that you are building from code checked out from our subversion repository. If you're building from a release tarball, do not perform the {{{./bootstrap}}} step.

First, ensure that you've fulfilled the dependencies specified in the top-level
[source:gnuradio/trunk/README README].
Most GNU/Linux systems come with our dependencies already packaged.
You may need to install them off of your install CD/DVD or over the net.
See below for Operating System specific notes.

To compile, there are 5 steps. Start by cd'ing to the gnuradio directory, then complete the
following commands:

{{{
$ ./bootstrap # Do NOT perform this step if you are building from a tarball.
$ ./configure
$ make
$ make check
$ sudo make install
}}}

This will perform all configuration checks and select for build, test, and installation all components that pass.

For finer control, read the instructions at BuildConfiguration.

Operating System Specific Instructions

This section links to guides which go into more specific detail for a given operating system, outlining how to fulfill the build prerequisites, any non-standard build steps that must be taken, and general configuration issues. If a given operating system has binary installation packages or another automated way to build GNU Radio, it will be listed here.

  • Linux * [wiki:FedoraInstall Fedora] * [wiki:UbuntuInstall Ubuntu] * [wiki:DebianInstall Debian] * [wiki:MandrivaInstall Mandriva] * [wiki:SuseInstall SuSE]
  • [wiki:MacInstall Mac OS X]
  • [wiki:NetBSDInstall NetBSD] (likely also appropriate for DragonflyBSD and helpful for OpenBSD and FreeBSD)
  • [wiki:WindowsInstall Windows]
Installation on the Play Station 3 * Linux * [wiki:PS3FC6Install Fedora Core 6 (and probably 5)] USRP FPGA Firmware

To compile the verilog source code for the fpga firmware for the usrp you need Altera Quartus II Web Edition. '''This is only needed if you change the verilog code''', since the distribution contains precompiled versions of this firmware.

[wiki:QuartusUnderLinux How to run Quartus II under Linux]

Current Known Build Problems
TicketQuery(component=build&