SHARE
TWEET

sdr-sharp-install-nix.sh

mikikg Sep 25th, 2012 672 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. mkdir src
  4.  
  5. echo "Downloading SDR# ..."
  6. curl http://sdrsharp.com/downloads/sdr-nightly.zip -o src/sdr-nightly.zip
  7.  
  8. echo "Downloading SDR#'s RTLSDR Plugin ..."
  9. curl http://sdrsharp.com/downloads/sdr-nightly-rtlsdr.zip -o src/sdr-nightly-rtlsdr.zip
  10.  
  11. echo "Downloading RTLSDR Driver ..."
  12. curl http://sdr.osmocom.org/trac/raw-attachment/wiki/rtl-sdr/RelWithDebInfo.zip -o src/RelWithDebInfo.zip
  13.  
  14. echo "Downloading Zadig ..."
  15. curl http://sdrsharp.com/downloads/zadig.zip -o src/zadig.zip
  16.  
  17. mkdir tmp
  18.  
  19. unzip -q -o src/sdr-nightly.zip -d sdrsharp
  20.  
  21. unzip -q -o src/sdr-nightly-rtlsdr.zip -d tmp
  22. mv tmp/SDRSharp.RTLSDR.dll sdrsharp
  23. mv tmp/msvcr100.dll sdrsharp
  24. mv tmp/libusb-1.0.dll sdrsharp
  25. mv tmp/libusb0.dll sdrsharp
  26. mv -f tmp/config/SDRSharp.exe.config sdrsharp
  27.  
  28. unzip -q -o src/RelWithDebInfo.zip -d tmp
  29. mv tmp/rtl-sdr-release/x32/rtlsdr.dll sdrsharp
  30.  
  31. unzip -q -o src/zadig.zip -d tmp
  32. mv tmp/zadig.exe sdrsharp
  33.  
  34. rm -rf src
  35. rm -rf tmp
  36.  
  37. echo "Done"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top