SDR# Sharp Ubuntu

Build SDR-sharp

This procedure was tested with Ubuntu 16.04 and MonoDevelop 5.10 on a 64-bit Intel laptop with the ubiquitous $20 RTL-SDR USB stick receiver.

  1. Install SDR# prereqs

    apt install mono-complete libportaudio2 librtlsdr0
    
  2. Build SDR#.

    git clone https://github.com/cgommel/sdrsharp
    cd sdrsharp
    xbuild /p:TargetFrameworkVersion="v4.5" /p:Configuration=Release
    
  3. Softlinks help your Mono executable find the audio libraries.

    cd Release
    
    ln -s /usr/lib/x86_64-linux-gnu/libportaudio.so.2 libportaudio.so
    
    ln -s /usr/lib/x86_64-linux-gnu/librtlsdr.so.0 librtlsdr.dll
    

Run SDR

In Linux,

mono SDRSharp.exe

Set audio buffer to 200ms, sample rate to 2.048Mbps

Notes

Find library paths

In general you can find the path(s) to a Linux library by:

dpkg -L libportaudio2

Linux RTL-SDR programs

Alternative SDR choices for the RTL-SDR receivers on Linux include

Leave a Comment