Skip to content
Josh Blum edited this page Jun 27, 2019 · 24 revisions

Ubuntu package support

The Pothosware Framework PPA contains deb packages for the Pothos framework and various Pothos toolkits. Soapy SDR and a slew of hardware support drivers are provided by the MyriadRF SDR Drivers PPA.

http://i.imgur.com/m6ihRGz.png

The PPAs support the following Ubuntu releases:

  • Xenial (16.04 LTS)
  • Bionic (18.04 LTS)
  • Cosmic (18.10 current)

Add the following PPAs to your Ubuntu system based on your needs:

#core framework and toolkits (required)
sudo add-apt-repository -y ppa:pothosware/framework

#support libraries for pothos (required)
sudo add-apt-repository -y ppa:pothosware/support

#supplies soapysdr, and drivers (required)
sudo add-apt-repository -y ppa:myriadrf/drivers

#needed when using bladerf devices
sudo add-apt-repository -y ppa:bladerf/bladerf

#needed when using usrp devices
sudo add-apt-repository -y ppa:ettusresearch/uhd

#always update after adding PPAs
sudo apt-get update

Install Pothos with GUI tools and all official toolkits:

sudo apt-get install pothos-all

#install bindings for python2
sudo apt-get install python-pothos

#or install bindings for python3
sudo apt-get install python3-pothos

#install development files for python blocks
sudo apt-get install pothos-python-dev

Install Soapy SDR runtime and utility packages:

#soapy sdr runtime and utilities
sudo apt-get install soapysdr-tools

#python language bindings
sudo apt-get install python-soapysdr python-numpy

#python3 language bindings
sudo apt-get install python3-soapysdr python3-numpy

#using soapy sdr for remote device support?
sudo apt-get install soapysdr-module-remote soapysdr-server

Install Soapy SDR support drivers for your hardware:

#osmo sdr support:
sudo apt-get install osmo-sdr soapysdr-module-osmosdr

#rtl sdr support:
sudo apt-get install rtl-sdr soapysdr-module-rtlsdr

#blade rf support:
sudo apt-get install bladerf soapysdr-module-bladerf

#hack rf support:
sudo apt-get install hackrf soapysdr-module-hackrf

#usrp support:
sudo apt-get install uhd-host uhd-soapysdr soapysdr-module-uhd

#miri SDR support:
sudo apt-get install miri-sdr soapysdr-module-mirisdr

#rf space support:
sudo apt-get install soapysdr-module-rfspace

#airspy support:
sudo apt-get install airspy soapysdr-module-airspy

Open a terminal and run:

#print information about the install
PothosUtil --system-info
SoapySDRUtil --info

#run the design GUI -- there should also be a menu shortcut
PothosFlow

Users may wish to build a more recent version of Pothos from source, but still use the PPAs to install various dependencies. Find this information documented in Ubuntu section of the build guide.