InstallingGR: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(→‎Quick Start: as discussed a few calls ago, also on Mac, go radioconda)
m (Update radioconda version and links)
 
(24 intermediate revisions by 4 users not shown)
Line 4: Line 4:
= Quick Start =
= Quick Start =
{| class="wikitable"
{| class="wikitable"
|+  
|+
! Ubuntu 22.04
! Platform !! Method !! GNU Radio version
<!-- ======================================================================================================================================================================== -->
<!-- DEBIANOIDS ============================ -->
<!-- ======================================================================================================================================================================== -->
|-
|rowspan=3 style="background-color:#eaecf0;"| [[File:Debian.png|32px|middle|link=]] '''Debian''' ≥12<br>[[File:Ubuntu.png|32px|middle|link=]] '''Ubuntu''' ≥22.04<br>[[File:LinuxMint.png|32px|middle|link=]] '''Linux Mint''' ≥21.1<br>[[File:RaspberryPi.png|32px|middle|link=]]'''Raspberry Pi OS'''<sub>64-bit</sub> ≥2021-10-30
|rowspan=3| <syntaxhighlight lang="shell">sudo apt-get install gnuradio</syntaxhighlight>
 
||<div style="min-width: 25ch; display: flex; justify-content: space-between; flex-flow: row wrap;"><div style="min-width: 12ch; clear: none;">Ubuntu 24.04:</div><div>v3.10.9.2</div></div>
|-
||<div style="min-width: 25ch; display: flex; justify-content: space-between; flex-flow: row wrap;"><div style="min-width: 12ch; clear: none;">Ubuntu 22.04:</div><div>v3.10.1.1</div></div>
|-
||<div style="min-width: 25ch; display: flex; justify-content: space-between; flex-flow: row wrap;"><div style="min-width: 12ch; clear: none;">Debian 12:</div><div>v3.10.5.1</div></div>
<!-- ======================================================================================================================================================================== -->
<!-- FEDORA ============================ -->
<!-- ======================================================================================================================================================================== -->
|-
| rowspan=2 style="background-color:#eaecf0;"| [[File:Fedora.png|32px|middle|link=]] '''Fedora''' ≥39
| rowspan=2 |
<syntaxhighlight lang="shell">
sudo dnf install gnuradio
</syntaxhighlight>
||<div style="min-width: 25ch; display: flex; justify-content: space-between; flex-flow: row wrap;"><div style="min-width: 12ch; clear: none;">Fedora 39:</div><div>v3.10.6.0</div></div>
|-
||<div style="min-width: 25ch; display: flex; justify-content: space-between; flex-flow: row wrap;"><div style="min-width: 12ch; clear: none;">Fedora 40:</div><div>v3.10.9.2</div></div>
<!-- ======================================================================================================================================================================== -->
<!-- PPA UBUNTU ============================ -->
<!-- ======================================================================================================================================================================== -->
|-
|style="background-color:#eaecf0;"| [[File:Ubuntu.png|32px|middle|link=]] '''Ubuntu''' 20.04<br><small>Consider [https://ubuntu.com/tutorials/upgrading-ubuntu-desktop#1-before-you-start upgrading] your Ubuntu</small><br><br>[[File:Ubuntu.png|32px|middle|link=]] '''Ubuntu''' 22.04
||
||
# <code>sudo apt-get install gnuradio</code>
<syntaxhighlight lang="shell">
||v3.10.1.1
sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo apt-get update
sudo apt-get install gnuradio python3-packaging
</syntaxhighlight>
| style="text-align: right;" | v3.10.7.0
<!-- ======================================================================================================================================================================== -->
<!-- OTHER LINUXES ========================= -->
<!-- ======================================================================================================================================================================== -->
|-
|-
! Ubuntu 20.04
|style="background-color:#eaecf0;"| [[File:Tux.png|32px|middle|link=]] '''Other Linux Distros'''
||
||
# <code>sudo add-apt-repository ppa:gnuradio/gnuradio-releases</code>
<syntaxhighlight lang="shell">
# <code>sudo apt-get update</code>
sudo {apt,dnf,yay,emerge,…} install gnuradio
# <code>sudo apt-get install gnuradio python3-packaging</code>
</syntaxhighlight>
||v3.10.5.1
| style="text-align: right;" | See [https://repology.org/project/gnuradio/badges this table]
|-
|-
! Windows
<!-- ======================================================================================================================================================================== -->
<!-- WINDOWS ========================= -->
<!-- ======================================================================================================================================================================== -->
|style="background-color:#eaecf0;"| [[File:Windows.png|32px|middle|link=]] '''Windows'''
||
||
# Install the latest [https://github.com/ryanvolz/radioconda/releases Radioconda installer]
Download and install [https://github.com/ryanvolz/radioconda Radioconda] by following the instructions at the link<br>
# Launch "GNU Radio Companion" from the Start menu
and launch "GNU Radio Companion" from the Start menu
||v3.10.5.1
| style="text-align: right;" rowspan=2 |v3.10.10.0
<!-- ======================================================================================================================================================================== -->
<!-- Mac OS ========================= -->
<!-- ======================================================================================================================================================================== -->
|-
|-
! macOS
|style="background-color:#eaecf0;"| [[File:MacOS.png|32px|middle|link=]] '''macOS'''
||
| Download and install [https://github.com/ryanvolz/radioconda Radioconda] by following the instructions at the link
# Install the latest [https://github.com/ryanvolz/radioconda/releases Radioconda installer]
||v3.10.5.1
|}
|}



Latest revision as of 22:37, 29 May 2024

Beginner Tutorials

Introducing GNU Radio

  1. What is GNU Radio?
  2. Installing GNU Radio
  3. Your First Flowgraph

Flowgraph Fundamentals

  1. Python Variables in GRC
  2. Variables in Flowgraphs
  3. Runtime Updating Variables
  4. Signal Data Types
  5. Converting Data Types
  6. Packing Bits
  7. Streams and Vectors
  8. Hier Blocks and Parameters

Creating and Modifying Python Blocks

  1. Creating Your First Block
  2. Python Block With Vectors
  3. Python Block Message Passing
  4. Python Block Tags

DSP Blocks

  1. Low Pass Filter Example
  2. Designing Filter Taps
  3. Sample Rate Change
  4. Frequency Shifting
  5. Reading and Writing Binary Files

SDR Hardware

  1. RTL-SDR FM Receiver
  2. B200-B205mini FM Receiver

Quick Start

Platform Method GNU Radio version
Debian.png Debian ≥12
Ubuntu.png Ubuntu ≥22.04
LinuxMint.png Linux Mint ≥21.1
RaspberryPi.pngRaspberry Pi OS64-bit ≥2021-10-30
sudo apt-get install gnuradio
Ubuntu 24.04:
v3.10.9.2
Ubuntu 22.04:
v3.10.1.1
Debian 12:
v3.10.5.1
Fedora.png Fedora ≥39
sudo dnf install gnuradio
Fedora 39:
v3.10.6.0
Fedora 40:
v3.10.9.2
Ubuntu.png Ubuntu 20.04
Consider upgrading your Ubuntu

Ubuntu.png Ubuntu 22.04
sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo apt-get update
sudo apt-get install gnuradio python3-packaging
v3.10.7.0
Tux.png Other Linux Distros
sudo {apt,dnf,yay,emerge,…} install gnuradio
See this table
Windows.png Windows

Download and install Radioconda by following the instructions at the link
and launch "GNU Radio Companion" from the Start menu

v3.10.10.0
MacOS.png macOS Download and install Radioconda by following the instructions at the link

Other Installation Methods

Platform-specific guides

Cross-platform guides

  • Conda install guide
  • PyBOMBS - Note: We are no longer including PyBOMBS as a recommended method of installing GNU Radio, unless you want to play around with old versions (e.g. GR 3.7, 3.8, and OOTs of matching version)

VMs and Live Images

Over the years a number of Live Images and VMs have been created. There are currently no official versions but here are some current options:

  • Instant GNU Radio A customizable, programmatically generated VM and live environment for GNU Radio.
  • UbuntuVM An Ubuntu 20.04 virtual machine image with GNU Radio 3.8.2.0, Fosphor, GQRX, and several other useful pieces of software. (Created using Instant GNU Radio)

OK, it's installed, what now?

If the installation worked without any trouble, you're ready to use GNU Radio! If you have no idea how to do that, the best place to start is with the Tutorials.

Optionally, you may run volk_profile on your terminal to help libvolk to determine the optimal kernels (may speed up GNU Radio).