- Сборка и установка GNURadio из GIT под Ubuntu и Debian
- Packages and Binaries:
- gnuradio
- gnuradio-dev
- gnuradio-doc
- libgnuradio-analog3.8.2
- libgnuradio-audio3.8.2
- libgnuradio-blocks3.8.2
- libgnuradio-channels3.8.2
- libgnuradio-digital3.8.2
- libgnuradio-dtv3.8.2
- libgnuradio-fec3.8.2
- libgnuradio-fft3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-qtgui3.8.2
- libgnuradio-runtime3.8.2
- libgnuradio-trellis3.8.2
- libgnuradio-uhd3.8.2
- libgnuradio-video-sdl3.8.2
- libgnuradio-vocoder3.8.2
- libgnuradio-wavelet3.8.2
- libgnuradio-zeromq3.8.2
Сборка и установка GNURadio из GIT под Ubuntu и Debian
Добрый всем вечер, день или еще!
Тут как-то понадобилось установить программу GNURadio. Конечно я ее установил через «apt install . » и даже попробовал как советует автор GNURadio через PyBOMBS, но в первом случае, нет гарантии, что это будет последняя версия, а во втором возникали ошибки при установке.
Но в любом случае, мне хотелось всегда последнюю версию (хотя последнее, не всегда значит лучше!), да и вообще нравится мне этот фетиш с make )
В общем решил поставить из репозитория GitHub и собрать самостоятельно. Но естественно возникли проблемы со сборкой. То одно не хватает, то другое, то версии не те. В общем всё ругается и не компилируется. А в инете нет нормального описания (я не нашел) по установке.
Но потратив денек, я для себя накатал доку (дабы потом не забыть) и решил поделиться с Вами.
И так я расскажу, как установить и собрать GNURadio и модули для DVB-T USB приемника (у меня обычный приемник с али за 500 руб. и AirSpy R2)
Советы по установке:
1. Пишу по шагам, не пропускать ни одного шага, идем сверху вниз
2. Я скачивал всё в домашнюю папку! (cd
)
3. Где нужен root, там я пишу sudo
4. Проверяйте, что пишется в консоли после каждого шага (вдруг у Вас ошибка)
5. Процесс не быстрый! Нужно терпения и машинку по быстрее. Где-то час у вас уйдет на всё.
Весь процесс я поделил на 6 частей (установок)
1. Инсталлируем GNURadio — процесс долгий, сборка идет долго. Так, что терпения вам
2. Инсталлируем библиотеку RTL-SDR (DVB-T RTL2832U) для приемника
3. Инсталлируем библиотеку LibRtlSdr (Software to turn the RTL2832U into an SDR)
4. Инсталлируем библиотеку GR-OsmoSdr
5. Инсталлируем библиотеку Liquid DSP
6. Заблокировать загрузку стандартных файлов для нашего DVB-T RTL2832U
Часть 1. Инсталлируем GNURadio
Для начала устанавливаем необходимые пакеты (строка длинная)
и далее строчку за строчкой
после make test посмотрите, чтобы не было ошибок!
если нет, то далее…
сейчас мы установили GNURadio. Его можно уже запустить и пользоваться, но нам надо еще собрать и подключить модули для нашего DVB-T приемника.
Часть 2. Инсталлируем библиотеку RTL-SDR (DVB-T RTL2832U)
Тут не должно быть проблем. И библиотека RTL-SDR установлена.
Часть 3. Инсталлируем библиотеку LibRtlSdr
Сделано. Идем далее.
Часть 4. Инсталлируем библиотеку GR-OsmoSdr
Сделано. Идем далее.
Часть 5. Инсталлируем библиотеку Liquid DSP
Сделано. Идем далее.
Часть 6. Заблокировать загрузку стандартных файлов для нашего DVB-T RTL2832U
Открываем (или создаем) файл «/etc/modprobe.d/blacklist-dvb.conf»
и туда вставляем строчки
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
и ПЕРЕЗАПУСКАЕМ систему или проще говоря:
Ну вот, вроде процесс закончен и мы можем запустить и проверить наш GNURadio
для этого набираем в консоли:
Источник
Packages and Binaries:
gnuradio
GNU Radio provides signal processing blocks to implement software radios. It can be used with readily-available low-cost external RF hardware to create software-defined radios, or without hardware in a simulation-like environment. It is widely used in hobbyist, academic and commercial environments to support both wireless communications research and real-world radio systems.
GNU Radio applications are primarily written using the Python programming language, while the supplied performance-critical signal processing path is implemented in C++ using processor floating-point extensions, where available. Thus, the developer is able to implement real-time, high-throughput radio systems in a simple-to-use, rapid-application-development environment.
While not primarily a simulation tool, GNU Radio does support development of signal processing algorithms using pre-recorded or generated data, avoiding the need for actual RF hardware.
This package contains the gnuradio-companion, a graphical tool for creating signal flow graphs and generating flow-graph source code. Also included are a variety of tools and utility programs.
Installed size: 82.79 MB
How to install: sudo apt install gnuradio
- libboost-program-options1.74.0
- libboost-thread1.74.0
- libc6
- libcodec2-0.9
- libgcc-s1
- libgnuradio-analog3.8.2
- libgnuradio-audio3.8.2
- libgnuradio-blocks3.8.2
- libgnuradio-channels3.8.2
- libgnuradio-digital3.8.2
- libgnuradio-dtv3.8.2
- libgnuradio-fec3.8.2
- libgnuradio-fft3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-qtgui3.8.2
- libgnuradio-runtime3.8.2
- libgnuradio-trellis3.8.2
- libgnuradio-uhd3.8.2
- libgnuradio-video-sdl3.8.2
- libgnuradio-vocoder3.8.2
- libgnuradio-wavelet3.8.2
- libgnuradio-zeromq3.8.2
- liblog4cpp5v5
- libpython3.9
- libqt5core5a
- libqt5widgets5
- libstdc++6
- libuhd3.15.0
- libvolk2-bin
- python3
- python3
- python3-click
- python3-click-plugins
- python3-gi
- python3-gi-cairo
- python3-lxml
- python3-mako
- python3-numpy
- python3-opengl
- python3-pyqt5
- python3-pyqtgraph
- python3-sip
- python3-thrift
- python3-yaml
- python3-zmq
dial_tone
Dial tone example
display_qt
A Gnu Radio Example gr-qtgui
gnuradio-companion
GNU Radio Companion (GRC) is a graphical tool for creating signal flow graphs and generating flow-graph source code.
gnuradio-config-info
Show details on installed GNU radio
gr-ctrlport-monitor
Gnuradio control port gui
gr-perf-monitorx
Gnuradio control port gui
gr_filter_design
GUI for creating filters for GNU Radio
gr_modtool
The swiss army knife of module editing
gr_plot
Display time series of samples from a file
gr_plot_const
Constellation plot of I&Q data using GNU Radio
gr_plot_fft
Frequency domain GNU Radio plotting
gr_plot_iq
Plot complex binary I&Q data versus time using GNU Radio
gr_plot_psd
GNU Radio power spectrum plotting
gr_plot_qt
Plot data using Qt graphics and GNU Radio
gr_read_file_metadata
A Gnu Radio Utility
Gnu Radio Companion Compiler
polar_channel_construction
Gnu Radio Polar Configurator
tags_demo
GNURadio and UHD tags example
uhd_fft
Display spectrum from UHD receiver
uhd_rx_cfile
Save UHD received data
uhd_rx_nogui
GNU Radio receiver
uhd_siggen
Signal Generator using UHD hardware
uhd_siggen_gui
GNU Radio signal generator using UHD hardware
gnuradio-dev
Header files for the GNU Radio software defined radio system. Since GNU Radio is a framework for development of SDR applications, you are likely to need this installed.
Part of the main gnuradio build.
Installed size: 5.78 MB
How to install: sudo apt install gnuradio-dev
- gnuradio
- libboost-date-time1.74-dev
- libboost-filesystem1.74-dev
- libboost-program-options1.74-dev
- libboost-regex1.74-dev
- libboost-system1.74-dev
- libboost-test1.74-dev
- libboost-thread1.74-dev
- libcppunit-dev
- libfftw3-dev
- libgmp-dev
- libgsm1-dev
- liblog4cpp5-dev
- libthrift-dev
- libvolk2-dev
- python3-dev
- thrift-compiler
gnuradio-doc
Documentation for the GNU Radio software defined radio system in html and xml form.
Part of the main gnuradio build.
Installed size: 472.34 MB
How to install: sudo apt install gnuradio-doc
libgnuradio-analog3.8.2
Library for handling analog signal processing functions. These functions are also in gnuradio-core. Part of the main gnuradio build.
Installed size: 586 KB
How to install: sudo apt install libgnuradio-analog3.8.2
- libc6
- libgcc-s1
- libgnuradio-blocks3.8.2
- libgnuradio-fft3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-audio3.8.2
This is the gr-audio library, used to connect to audio sources (mic-in) and sinks (speaker-out) ports on a computer. The underlying hardware driver is system and OS dependent and this module should automatically discover the correct one to use. Part of the main gnuradio build.
Installed size: 350 KB
How to install: sudo apt install libgnuradio-audio3.8.2
- libasound2
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- libjack-jackd2-0 | libjack-0.125
- liblog4cpp5v5
- libportaudio2
- libstdc++6
libgnuradio-blocks3.8.2
Some non-signal processing blocks. These functions are also in gnuradio-core. Part of the main gnuradio build.
Installed size: 2.99 MB
How to install: sudo apt install libgnuradio-blocks3.8.2
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-channels3.8.2
Some channel oriented processing blocks. These functions are also in gnuradio-core. Part of the main gnuradio build.
Installed size: 422 KB
How to install: sudo apt install libgnuradio-channels3.8.2
- libc6
- libgcc-s1
- libgnuradio-analog3.8.2
- libgnuradio-blocks3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
libgnuradio-digital3.8.2
All the functions for doing digital modulation and demodulation, including bpsk, qpsk, gmsk and ofdm signals. Part of the main gnuradio build.
Installed size: 1.35 MB
How to install: sudo apt install libgnuradio-digital3.8.2
- libc6
- libgcc-s1
- libgnuradio-analog3.8.2
- libgnuradio-blocks3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-dtv3.8.2
ATSC support, gr-atsc ported to a new framework, as well as DVB-S2, DVB-T, DVB-T2 digital video broadcast standards. Part of the main gnuradio build.
Installed size: 1.38 MB
How to install: sudo apt install libgnuradio-dtv3.8.2
- libc6
- libgcc-s1
- libgnuradio-fec3.8.2
- libgnuradio-fft3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-fec3.8.2
Handle forward error correction processing in gnuradio. Implements the GNU Radio FEC API, supporting encoders and decoders for no-op dummmy, repetition, and convolutional classes. Part of the main gnuradio build.
Installed size: 806 KB
How to install: sudo apt install libgnuradio-fec3.8.2
- libboost-filesystem1.74.0
- libc6
- libgcc-s1
- libgnuradio-blocks3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- libgsl25
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-fft3.8.2
Library for Fourier transform techniques used in gnuradio. Uses single precision FFT from libfftw3-single3. Part of the main gnuradio build.
Installed size: 246 KB
How to install: sudo apt install libgnuradio-fft3.8.2
- libboost-filesystem1.74.0
- libboost-thread1.74.0
- libc6
- libfftw3-single3
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-filter3.8.2
Library of filter blocks used in gnuradio. Implements FIR, IIR and FFT filters, as well as Polyphase filterbank and PFB arbitrary resampler methods. Part of the main gnuradio build.
Installed size: 882 KB
How to install: sudo apt install libgnuradio-filter3.8.2
- libc6
- libgcc-s1
- libgnuradio-fft3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libvolk2.4
libgnuradio-pmt3.8.2
Polymorphic Types are opaque data types that are designed as generic containers of data that can be safely passed around between blocks and threads in GNU Radio. Part of the main gnuradio build.
Installed size: 434 KB
How to install: sudo apt install libgnuradio-pmt3.8.2
libgnuradio-qtgui3.8.2
QT-based graphical sinks for gnuradio applications. Implements opengl, raster and native plotting methods, and supports a QT Style Sheet (QSS) file to adjust the look. Part of the main gnuradio build.
Installed size: 1.59 MB
How to install: sudo apt install libgnuradio-qtgui3.8.2
- libc6
- libgcc-s1
- libgnuradio-fft3.8.2
- libgnuradio-filter3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libpython3.9
- libqt5core5a
- libqt5gui5 | libqt5gui5-gles
- libqt5widgets5
- libqwt-qt5-6
- libstdc++6
- libvolk2.4
libgnuradio-runtime3.8.2
Top level component library. Defines core blocks. Handles settings for logging, performance counters, and control port. Part of the main gnuradio build.
Installed size: 1.51 MB
How to install: sudo apt install libgnuradio-runtime3.8.2
- libboost-filesystem1.74.0
- libboost-program-options1.74.0
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgmp10
- libgnuradio-pmt3.8.2
- liblog4cpp5v5
- libstdc++6
- libthrift-0.13.0
- libvolk2.4
libgnuradio-trellis3.8.2
Library for trellis coding modulation, including the Viterbi Algorithm, Concatenated Coding and Turbo Decoding based upon finite state machine (FSM) class. Part of the main gnuradio build.
Installed size: 826 KB
How to install: sudo apt install libgnuradio-trellis3.8.2
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
libgnuradio-uhd3.8.2
The gnuradio interface to the UHD library to connect to and send and receive data between to the Ettus Research, LLC product line — including the USRP family of software radio peripheral devices. Part of the main gnuradio build.
Installed size: 410 KB
How to install: sudo apt install libgnuradio-uhd3.8.2
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libuhd3.15.0
libgnuradio-video-sdl3.8.2
Library for handling SDL (Simple DirectMedia Layer) video data. Implements input and output blocks. Part of the main gnuradio build.
Installed size: 138 KB
How to install: sudo apt install libgnuradio-video-sdl3.8.2
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libsdl1.2debian
- libstdc++6
libgnuradio-vocoder3.8.2
Library of vocoder blocks, including ulaw, alaw, gsm and codec2. Debian uses external libraries for gsm and codec2.
Part of the main gnuradio build.
Installed size: 274 KB
How to install: sudo apt install libgnuradio-vocoder3.8.2
- libc6
- libcodec2-0.9
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- libgsm1
- liblog4cpp5v5
- libstdc++6
libgnuradio-wavelet3.8.2
Library of Daubechies wavelet function blocks. wvps computes the Wavelet Power Spectrum from a set of wavelet coefficients.
Part of the main gnuradio build.
Installed size: 146 KB
How to install: sudo apt install libgnuradio-wavelet3.8.2
- libboost-atomic1.74.0
- libboost-filesystem1.74.0
- libboost-program-options1.74.0
- libboost-regex1.74.0-icu67
- libboost-system1.74.0
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgmp10
- libgmpxx4ldbl
- libgnuradio-blocks3.8.2
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- libgsl25
- libgslcblas0
- liblog4cpp5v5
- libstdc++6
- libthrift-0.13.0
- libvolk2.4
libgnuradio-zeromq3.8.2
0MQ messaging library support. Provide network socket endpoints for gnuradio data and message streams. PUB/SUB, PUSH/PULL, REP/REQ models supported.
Part of the main gnuradio build.
Installed size: 382 KB
How to install: sudo apt install libgnuradio-zeromq3.8.2
- libboost-thread1.74.0
- libc6
- libgcc-s1
- libgnuradio-pmt3.8.2
- libgnuradio-runtime3.8.2
- liblog4cpp5v5
- libstdc++6
- libzmq5
Источник