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
gqrx
So GQRX sort of worked...
So SDR++
Grab the source
git clone https://github.com/AlexandreRouma/SDRPlusPlus.git
ls
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 missing....so get that compile and install
cd
git clone https://github.com/analogdevicesinc/libiio.git
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
PATH=/usr/lib/:$PATH
check it is working iio_info
go back to SDR _++ again
cd ..
cd SDRPlusPlus/
cd build/
cmake ..
so more missing get and install them
cd
git clone https://github.com/analogdevicesinc/libad9361-iio.git
cd libad9361-iio
cmake ./
make
sudo make install
cd ~/SDRPlusPlus/build/
cmake ..
still more missing
wget http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz
mv rtaudio-5.1.0.tar.gz ~/Downloads/
cd
cd Downloads/
tar -zxvf rtaudio-5.1.0.tar.gz
cd rtaudio-5.1.0/
mkdir build && cd build
cmake ../
make
sudo make install
Back to SDR++
cd
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.
Next stop is do this on a RasPad3 https://www.rtl-sdr.com/raspad-3-0-review-building-a-portable-raspberry-pi-4-tablet-with-built-in-rtl-sdr/ 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.
ReplyDeleteI 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?
1. In the line: sudo apt install glfw3 I think it should be sudo apt install libglfw3
ReplyDelete2. After all that, I get librtlsdr is missing, and a "sudo apt install librtlsdr" fails to find it.
I have installed GQRX on my x86 Machine not yet tried on Raspberry PI
ReplyDeleteNice 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 itshamradio.com
Drop by there!
73s
VU3HZW - Ahmed