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
Key Facts
- Raspberry Pi 3B+ or newer is recommended for better performance.
- A minimum of 2GB RAM is advised for a smoother user experience.
- A stable internet connection is required for downloading packages.
- An external SDR receiver (like RTL-SDR or HackRF) is necessary to receive signals.
- Gqrx requires a desktop environment (like Raspberry Pi OS with Desktop) to run.
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:
- Hardware: A Raspberry Pi 3B+ or a more recent model (Raspberry Pi 4 or 5 recommended for best performance). At least 2GB of RAM is highly recommended.
- Operating System: Raspberry Pi OS (formerly Raspbian) with a desktop environment is the most straightforward option. Ensure it's up-to-date.
- Storage: A good quality microSD card (16GB or larger) with Raspberry Pi OS installed.
- Internet Connection: A stable internet connection is crucial for downloading software packages.
- SDR Hardware: A compatible SDR receiver dongle (e.g., RTL-SDR, HackRF, SDRplay).
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 -yThe 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-pipNote: 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-sdrThis 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-pipThen, clone the Gqrx source code repository:
git clone --recursive https://github.com/gqrxusrp/gqrx.gitNavigate into the cloned directory and build Gqrx:
cd gqrxmkdir buildcd buildcmake ..make -j$(nproc)sudo make installThe -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
- Performance: Gqrx can be resource-intensive. On older Raspberry Pi models, you might experience sluggishness. Closing unnecessary applications and using a lower sample rate can help. Using a Raspberry Pi 4 or 5 with ample cooling is highly recommended.
- Audio Output: Ensure your audio output is correctly configured in Raspberry Pi OS. Gqrx uses the system's audio settings.
- USB Permissions: Sometimes, you might encounter issues with USB device access. Ensure your user account is part of the
plugdevordialoutgroup. You can add your user (e.g., `pi`) withsudo usermod -aG plugdev piandsudo usermod -aG dialout pi, then reboot. - SDR Driver Issues: If your SDR device isn't recognized, ensure the correct drivers are installed. For RTL-SDR dongles, the
rtl-sdrpackage usually handles this. - Overheating: Running intensive applications like Gqrx can cause the Raspberry Pi to overheat, leading to performance throttling. Ensure your Raspberry Pi has adequate cooling, such as heatsinks or a fan.
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.
More How To in Daily Life
Also in Daily Life
More "How To" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Gqrx SDR GitHub RepositoryGPL-3.0-or-later
- Raspberry Pi Documentationfair-use
- Guide: Installing Gqrx Software Defined Radio Receiver on Linuxfair-use
Missing an answer?
Suggest a question and we'll generate an answer for it.