Skip to content
Josh Blum edited this page Apr 18, 2017 · 23 revisions

The Pothos Homebrew tap

This tap hosts Homebrew formulas for Pothos, SoapySDR, and many hardware support modules.

Dependencies

  • XCode command line tools (clang, gcc, g++)
  • Install Homebrew: http://brew.sh/

Add the taps

brew tap audiofilter/spuc #spuce dependency
brew tap pothosware/homebrew-pothos
brew tap dholm/homebrew-sdr #other sdr apps
brew update

Install software

#install pothos framework, toolkits, and GUI
brew install pothosaudio
brew install pothosblocks
brew install pothoscomms
brew install pothossdr
brew install pothosgui
brew install pothosplotters
brew install pothoswidgets
brew install pothospython

#create a GUI shortcut in ~/Applications
ln -sf ~/Applications/PothosGui.app /usr/local/opt/pothosgui/PothosGui.app

#install SDR hardware support as needed
brew install soapyremote
brew install soapyaudio
brew install soapyrtlsdr
brew install soapyhackrf
brew install soapybladerf
brew install soapyosmo
brew install soapyuhd
brew install soapyredpitaya
brew install limesuite

Python3 support

Both software frameworks support Python3 bindings by building with --with-python3. SoapySDR will build both python2.7 and python3 bindings with this option. However, PothosPython will only build either python2.7 or python3 (but not both). Because we link into libpython, simultaneous bindings will cause symbol conflicts.

brew install soapysdr --with-python3
brew install pothospython --with-python3

Uninstall software

Sometimes its necessary to uninstall everything and reinstall from scratch. Use the following commands to purge soapysdr and pothos packages:

brew uninstall --force soapysdr pothos
brew missing | cut -f1 -d: | xargs brew remove --force
Clone this wiki locally