Gr-smart meters Setup Guide: Difference between revisions

No edit summary
No edit summary
Line 44: Line 44:


===For HackRF Support===
===For HackRF Support===
<br />
<syntaxhighlight lang="bash">
sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev
git clone https://github.com/mossmann/hackrf.git
cd hackrf/host/
mkdir build
cd build
cmake ..
make -j8
sudo make install
sudo ldconfig
</syntaxhighlight>
Then install gr-osmosdr for GNU Radio support
<syntaxhighlight lang="bash">
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig
</syntaxhighlight>
===For RTL-SDR Support===
===For RTL-SDR Support===
<br />
<br />