Support QRP CoA Everywhere

Wednesday, 13 October 2021

Installing GQRX and SDR++ on RaspberryPi

 Installing GQRX and SDR++ on RaspberryPi

These are all the steps I actually performed.

sudo apt update
apt list --upgradable
sudo apt install gqrx-sdr
rtl_test -t

So GQRX sort of worked...

So SDR++

Grab the source
git clone
cd SDRPlusPlus
mkdir build
cd build/
cmake ..

so erroring as missing these packages....fftw3 glfw glew libvolk

so to install them...
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
cmake ..
sudo apt install libglew-dev
cmake ..
sudo apt install glfw3
sudo apt install libglfw3-dev
cmake ..
sudo apt install libairspy-dev
cmake ..
sudo apt install libairspyhf-dev
cmake ..
sudo apt install libhackrf-dev
cmake ..
sudo apt install libsoapysdr-dev
cmake ..

libiio get that compile and install

git clone
cd libiio/
cmake ./
See what errors are (there were some)
cat /home/pi/libiio/CMakeFiles/CMakeOutput.log

install more prerequisites some were already there so it ignores them (from an SDR pluto install doc)
sudo apt-get install libxml2 libxml2-dev bison flex libcdk5-dev cmake
sudo apt-get install libaio-dev libusb-1.0-0-dev libserialport-dev libxml2-dev libavahi-client-dev doxygen graphviz

Try the libiio build again
cmake ./
make all
sudo make install
Add the path bit
check it is working iio_info

go back to SDR _++ again
cd ..
cd SDRPlusPlus/
cd build/
cmake ..

so more missing get and install them

git clone
cd libad9361-iio
cmake ./
sudo make install
cd ~/SDRPlusPlus/build/
cmake ..

still more missing

mv rtaudio-5.1.0.tar.gz ~/Downloads/
cd Downloads/
tar -zxvf rtaudio-5.1.0.tar.gz
cd rtaudio-5.1.0/
mkdir build && cd build
cmake ../
sudo make install

Back to SDR++
cd SDRPlusPlus/build/
cmake ..
this time no errors
used N=4 as 4 cpu make -j 4
It maxed out the CPU for a few mins
sudo make install

That's it SDR++ and GQRX both installed


Yes I am sure much of the missing bits were listed in the prerequisties docs of both but we all read those don't we :-) Of course I had added the development environment to it as well. Mine has 128GB SD card (high endurance) and has a 3TB SSD attached which takes and stores backups, snapshots etc I use an adaptor as well so I don't have to insert the MiniSD card into the Pi.


M1KTA said...

Next stop is do this on a RasPad3 with a RaPi4 for either the RTL-SDR or a SDRPlay (more instructions) and the base buster image perhaps or the one SunFounder use when it turns up. I am sure might also look at the extra bits from the Dragon OS.

I will probably add gnuradio, lime mini sdr and a pluto as possible sdr sources.

I don't have a hackrf or airspy etc or I'd test them too so if someone feeling generous?

GM8ARV said...

1. In the line: sudo apt install glfw3 I think it should be sudo apt install libglfw3

2. After all that, I get librtlsdr is missing, and a "sudo apt install librtlsdr" fails to find it.

Saquib said...

I have installed GQRX on my x86 Machine not yet tried on Raspberry PI
Nice Read!
yes it should be sudo apt install librtlsdr its is universe repo
I am a Linux Guy to the core!

By the way.I run an amateur radio news forum in India

Drop by there!

VU3HZW - Ahmed