Last active
February 3, 2023 05:00
-
-
Save sam210723/dfffac5a7252167f15cd4ee98b2f3421 to your computer and use it in GitHub Desktop.
GNURadio + gr-iio + gr-osmosdr-gqrx + gqrx + SoapySDR + SoapyRemote + SoapyPlutoSDR install on fresh Ubuntu 16.04.3 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GNURadio + gr-iio setup (ADALM-PLUTO plugged in) | |
cd ~/Documents | |
mkdir PlutoSDR | |
cd PlutoSDR/ | |
sudo apt-get install git python-pip | |
pip install --upgrade pip | |
pip install setuptools | |
sudo pip install git+https://github.com/gnuradio/pybombs.git | |
pybombs auto-config | |
pybombs recipes add-defaults | |
git clone https://github.com/gnuradio/volk ~/Documents/PlutoSDR/src/gnuradio/volk | |
pybombs prefix init ~/Documents/PlutoSDR -a PlutoPrefix -R gnuradio-default | |
pybombs run gnuradio-companion | |
cp ~/.pybombs/recipes/gr-recipes/gr-iio.lwr ~/Documents/PlutoSDR/gr-iio.backup.lwr | |
sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr | |
sudo apt-get remove libserialport-dev | |
sudo apt-get autoremove | |
git clone git://sigrok.org/libserialport | |
cd libserialport/ | |
./autogen.sh | |
./configure | |
make | |
sudo make install | |
sudo ldconfig | |
pybombs install gr-iio | |
pybombs run gnuradio-companion | |
# gr-osmosdr-gqrx PlutoSDR branch setup | |
sudo apt-get install libiio-utils | |
iio_info -n pluto.local | |
sudo apt-get install libxml2 libxml2-dev libaio-dev | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/csete/gr-osmosdr-gqrx | |
cd gr-osmosdr-gqrx/ | |
git checkout plutosdr | |
mkdir build | |
cd build/ | |
cmake -DCMAKE_PREFIX_PATH=~/Documents/PlutoSDR ../ | |
make | |
sudo make install | |
sudo ldconfig | |
# GQRX install | |
sudo apt-get install git build-essential cmake qtbase5-dev qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-private-dev pulseaudio | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/csete/gqrx.git gqrx.git | |
cd gqrx.git/ | |
mkdir build | |
cd build/ | |
cmake -DCMAKE_PREFIX_PATH=~/Documents/PlutoSDR .. | |
make | |
sudo make install | |
sudo sh -c "echo $HOME/Documents/PlutoSDR/lib >> /etc/ld.so.conf.d/plutosdr.conf" | |
sudo ldconfig | |
gqrx | |
# SoapySDR Install | |
sudo apt-get install python-numpy swig | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/pothosware/SoapySDR.git | |
cd SoapySDR/ | |
mkdir build | |
cd build/ | |
cmake .. | |
make -j4 | |
sudo make install | |
sudo ldconfig | |
SoapySDRUtil —info | |
# SoapyRemote Install | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/pothosware/SoapyRemote.git | |
cd SoapyRemote/ | |
mkdir build | |
cd build/ | |
cmake .. | |
make | |
sudo make install | |
sudo ldconfig | |
SoapySDRServer -h | |
# libad9361-iio | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/analogdevicesinc/libad9361-iio | |
cd libad9361-iio | |
mkdir build | |
cd build/ | |
cmake .. | |
make | |
sudo make install | |
sudo ldconfig | |
# libiio | |
sudo apt-get install libxml2 libxml2-dev bison flex libcdk5-dev | |
sudo apt-get install libaio-dev libusb-1.0-0-dev libserialport-dev libxml2-dev libavahi-client-dev | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/analogdevicesinc/libiio.git | |
cd libiio/ | |
cmake -DWITH_SERIAL_BACKEND=OFF ./ | |
make all | |
sudo make install | |
sudo ldconfig | |
# SoapyPlutoSDR | |
cd ~/Documents/PlutoSDR | |
git clone https://github.com/jocover/SoapyPlutoSDR | |
cd SoapyPlutoSDR/ | |
mkdir build | |
cd build/ | |
cmake .. | |
make | |
sudo make install | |
sudo ldconfig | |
SoapySDRServer --bind="0.0.0.0:1234" --find="driver=PlutoSDR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment