GNURadio Linux

Version 11 (Nick Corgan, 04/16/2012 06:12 pm) → Version 12/30 (Nick Corgan, 05/03/2012 11:45 pm)

{{>toc}}

!http://files.ettus.com/meta/logos/uhd_gnuradio_linux_logos.png!

h1. GNU Radio+UHD Installation (Linux)

These binaries include the latest bugfixes. They are generated every weekend and support the following platforms:

* *Ubuntu 10.04,11.04-12.04* 10.04-11.10*
* *Fedora 15-16*

*NOTE: Our binaries and installer repositories are only generated for officially supported Ubuntu and Fedora versions.*

*NOTE: Our GNU Radio binaries depend on our UHD binaries, so all instructions involve installation of both.*

h2. Install with Apt/Yum

Binaries generated from UHD's unstable and bugfix branches can also be installed using our Ubuntu and Fedora repositories. If you want your UHD install to update every week, follow the instructions below:

h3. Ubuntu

* *Master/Unstable*
** Copy and paste these commands into your terminal. This will install GNU Radio+UHD as well as place our repository into the list of sources Ubuntu uses to check for package updates.
<pre>
sudo bash -c 'echo "deb http://files.ettus.com/binaries/uhd_unstable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list'
sudo bash -c 'echo "deb http://files.ettus.com/binaries/uhd_unstable/repo/gnuradio/ubuntu/`lsb_release -cs` `lsb_release -cs` main" >> /etc/apt/sources.list.d/ettus.list'
sudo apt-get update
sudo apt-get install uhd gnuradio
</pre>

* *Releases/Bugfixes*
** Copy and paste these commands into your terminal. This will install GNU Radio+UHD as well as place our repository into the list of sources Ubuntu uses to check for package updates.
<pre>
sudo bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list'
sudo bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/gnuradio/ubuntu/`lsb_release -cs` `lsb_release -cs` main" >> /etc/apt/sources.list.d/ettus.list'
sudo apt-get update
sudo apt-get install uhd gnuradio
</pre>

h3. Fedora

*Note: If you are switching from our master/unstable repo to our releases/bugfixes repo and are replacing your /etc/yum.repos.d file, run the following command before doing any new installations:*

<pre>
yum --enablerepo=ettus-gnuradio-repo clean metadata
</pre>

* *Master/Unstable*
** Follow these instructions to install GNU Radio+UHD and place our repository into the list of sources Fedora uses to check for package updates.
** Create the file "/etc/yum.repos.d/ettus.repo". Copy this into the file:
<pre>
[ettus-uhd-master-repo]
name=Ettus Research - UHD Unstable $releasever-$basearch
baseurl=http://files.ettus.com/binaries/uhd_unstable/repo/uhd/fedora/$releasever/$basearch
gpgcheck=0

[ettus-gnuradio-repo]
name=Ettus Research - GNU Radio $releasever-$basearch
baseurl=http://files.ettus.com/binaries/uhd_unstable/repo/gnuradio/fedora/$releasever/$basearch
gpgcheck=0
</pre>
Run the following commands:
<pre>
sudo yum update
sudo yum install uhd gnuradio
</pre>

* *Releases/Bugfixes*
** Follow these instructions to install GNU Radio+UHD and place our repository into the list of sources Fedora uses to check for package updates.
** Create the file "/etc/yum.repos.d/ettus.repo". Copy this into the file:
<pre>
[ettus-uhd-stable-repo]
name=Ettus Research - UHD Stable $releasever-$basearch
baseurl=http://files.ettus.com/binaries/uhd_stable/repo/uhd/fedora/$releasever/$basearch
gpgcheck=0

[ettus-gnuradio-repo]
name=Ettus Research - GNU Radio $releasever-$basearch
baseurl=http://files.ettus.com/binaries/uhd_stable/repo/gnuradio/fedora/$releasever/$basearch
gpgcheck=0
</pre>
Run the following commands:
<pre>
sudo yum update
sudo yum install uhd gnuradio
</pre>

h2. Installer Packages

We provide standalone binaries for all supported platforms. These binaries are generated every weekend.

**Before installing a GNU Radio binary, a UHD binary must be installed.**

* Download one of our UHD binaries here: [[UHD Linux]].

* The latest binaries can be found "here":http://files.ettus.com/binaries/gnuradio/latest.
* Earlier binaries can be found here: http://files.ettus.com/binaries/gnuradio