HackRF
3.1.2 OS X (10.5+)
MacPorts
sudo port install gr-osmosdr
Homebrew
brew install gr-osmosdr
3.1.3 Windows
Binaries are provided as part of the PothosSDR project, they can be downloaded here.
3.1.4 FreeBSD
You can use the binary package: # pkg install hackrf
You can build and install from ports:
# cd /usr/ports/comms/hackrf
# make install
3.2 Building from source
3.2.1 Linux / OS X / *BSD
Preparing Your System
First of all, make sure that your system is up to date using your operating system provided update method.
3.2.2 Installing using PyBOMBS
The GNU Radio project has a build system that covers the core libraries, drivers for SDR hardware, and many out of
tree modules. PyBOMBs will take care of installing dependencies for you.
3.2.3 Building HackRF tools from source
Acquire the source for the HackRF tools from either a release archive or git: git clone https://github.com/
mossmann/hackrf.git
Once you have the source downloaded, the host tools can be built as follows:
cd hackrf/host
mkdir build
cd build
cmake ..
(continues on next page)
6 Chapter 3. Operating System Tips