How to install gqrx on raspberry pi

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Installing Gqrx SDR receiver on a Raspberry Pi typically involves updating your package lists, installing necessary dependencies, and then installing Gqrx itself using the `apt` package manager. For optimal performance, especially with newer Raspberry Pi models, consider using a recent version of Raspberry Pi OS and potentially compiling from source if pre-built packages are outdated.

Key Facts

Overview

Gqrx is a popular open-source software-defined radio (SDR) receiver that allows users to tune into radio signals using a compatible SDR hardware device. While often used on desktop Linux systems, it can also be installed and run on a Raspberry Pi, transforming the small, affordable computer into a portable SDR station. This guide outlines the general steps for installing Gqrx on a Raspberry Pi, focusing on ease of installation and common configurations.

Prerequisites

Before you begin, ensure your Raspberry Pi meets the following requirements:

Installation Steps

The installation process primarily utilizes the `apt` package manager, which simplifies software management on Debian-based systems like Raspberry Pi OS.

1. Update Package Lists

It's always a good practice to update your system's package lists before installing new software. Open a terminal window on your Raspberry Pi and run the following commands:

sudo apt updatesudo apt upgrade -y

The upgrade command will install any available updates for your installed packages.

2. Install Gqrx Dependencies

Gqrx relies on several libraries and tools to function correctly. While the Gqrx package in the Raspbian repositories often pulls in most necessary dependencies, it's wise to ensure common multimedia and development tools are present. You might not need to install all of these manually if they are already installed as part of your Raspberry Pi OS installation, but running these commands won't hurt:

sudo apt install -y git cmake build-essential libfftw3-dev librtlsdr-dev libusb-1.0-0-dev libsoapysdr-dev libportaudio2 libsamplerate0-dev libsndfile1-dev libpulse-dev libqt5widgets5 libqt5gui5 libqt5core5a qttools5-dev python3-dev python3-numpy python3-setuptools python3-pip

Note: The exact list of dependencies might vary slightly depending on the Gqrx version and your Raspberry Pi OS version. If the installation fails later, check the Gqrx documentation or error messages for specific missing libraries.

3. Install Gqrx

With the system updated and dependencies potentially installed, you can now install Gqrx. The easiest method is often through the official Raspberry Pi OS repositories:

sudo apt install gqrx-sdr

This command will download and install the Gqrx package and any remaining dependencies not covered in the previous step. The installation might take a few minutes depending on your internet speed and the size of the packages.

4. Alternative: Compiling from Source (Advanced)

If the version of Gqrx available in the repositories is outdated, or if you need specific features or optimizations, compiling Gqrx from source is an option. This is a more advanced procedure and requires more time and disk space.

First, ensure you have the necessary build tools:

sudo apt install git cmake build-essential libfftw3-dev librtlsdr-dev libusb-1.0-0-dev libsoapysdr-dev libportaudio2 libsamplerate0-dev libsndfile1-dev libpulse-dev qtbase5-dev qttools5-dev python3-dev python3-numpy python3-setuptools python3-pip

Then, clone the Gqrx source code repository:

git clone --recursive https://github.com/gqrxusrp/gqrx.git

Navigate into the cloned directory and build Gqrx:

cd gqrxmkdir buildcd buildcmake ..make -j$(nproc)sudo make install

The -j$(nproc) flag utilizes all available CPU cores for faster compilation. This process can take a significant amount of time on a Raspberry Pi.

5. Running Gqrx

Once installed, you can launch Gqrx from the application menu (usually under Accessories or Internet) or by typing gqrx in the terminal.

Upon first launch, Gqrx will prompt you to select your SDR device. Choose your connected SDR hardware from the dropdown list. You may need to configure device-specific settings such as sample rate and gain. Start by setting a moderate sample rate (e.g., 2.4 MS/s for RTL-SDR) and experiment with the gain settings to find a balance between signal strength and noise.

Troubleshooting and Performance Tips

By following these steps, you should be able to successfully install and run Gqrx on your Raspberry Pi, opening up a world of radio spectrum exploration.

Sources

  1. Gqrx SDR GitHub RepositoryGPL-3.0-or-later
  2. Raspberry Pi Documentationfair-use
  3. Guide: Installing Gqrx Software Defined Radio Receiver on Linuxfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.