installation of gnu radio

4
Installation Guide for GNU Radio: System Requirement: Linux Ubuntu Pre-Requisites needed for GNURadio on Ubuntu  Development Tools (need for compilation) o g++ o git o make o cmake o sdcc (from "universe") o guile o ccache (not required, but reco mmended if you compile frequently)  Libraries (need for runtime and for compilation) o python-dev o SWIG o FFTW 3.X (libfftw3-dev) o cppunit (libcppunit-dev) o Boost 1.35 (or later, but not 1.46, 1.47 or 1.52) o GSL GNU Scientific Library (libgsl0-dev) o libusb and libusb-dev o ALSA (alsa-base, libasound2 and libasound2-dev)  GNU Radio Companion o for the GNU Radio Companion (GRC) you need to install python-numpy, python-cheetah and python-lxml  WX GUI o for the WX G UI components you need to install python-wxgtk2.8 and python- numpy  QT GUI o for the QT GUI components you need to install PyQT4, PyQwt5 for Qt4, QT- OpenGL, Fontconfig, Xrender and Xinput (python-qt4, python-qwt5-qt4, libqt4-opengl-dev, libqwt5-qt4-dev, libfontconfig1-dev, libxrender-dev, libxi- dev)  Other useful packages o doxygen (for creating documentation from source code ) o octave (from "universe")

Upload: nishantkumar

Post on 12-Oct-2015

35 views

Category:

Documents


0 download

DESCRIPTION

Installation of GNU Radio

TRANSCRIPT

  • 5/21/2018 Installation of GNU Radio

    1/4

    Installation Guide for GNU Radio:

    System Requirement: Linux Ubuntu

    Pre-Requisites needed for GNURadio on Ubuntu

    Development Tools (need for compilation)

    o g++

    o git

    o make

    o cmake

    o sdcc (from "universe")

    o guile

    o ccache (not required, but recommended if you compile frequently)

    Libraries (need for runtime and for compilation)

    o python-dev

    o SWIG

    o FFTW 3.X (libfftw3-dev)

    o cppunit (libcppunit-dev)

    o Boost 1.35 (or later, but not 1.46, 1.47 or 1.52)

    o GSL GNU Scientific Library (libgsl0-dev)

    o libusb and libusb-dev

    o ALSA (alsa-base, libasound2 and libasound2-dev)

    GNU Radio Companion

    o for the GNU Radio Companion (GRC) you need to install python-numpy,

    python-cheetah and python-lxml

    WX GUI

    o for the WX GUI components you need to install python-wxgtk2.8 and python-

    numpy

    QT GUI

    o

    for the QT GUI components you need to install PyQT4, PyQwt5 for Qt4, QT-OpenGL, Fontconfig, Xrender and Xinput (python-qt4, python-qwt5-qt4,

    libqt4-opengl-dev, libqwt5-qt4-dev, libfontconfig1-dev, libxrender-dev, libxi-

    dev)

    Other useful packages

    o doxygen (for creating documentation from source code)

    o octave (from "universe")

  • 5/21/2018 Installation of GNU Radio

    2/4

    Procedure:

    Step 1: Open the Terminal on Ubuntu (Ctrl+Alt+T).

    Step 2: Install the Dependencies from this site.

    http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall

    For example: For Ubuntu 12.04, install Precise Pangolin (12.04)

    Step 3: Installing GNU Radio-

    Enter this command for installation of GNU Radio-

    gi t cl one ht t p: / / gnur adi o. or g/ gi t / gnur adi o. gi t

    Step 4:Configure and build GNU Radio-

    Enter these commands in the Terminal one by one-

    cd gnur adi omkdi r bui l dcd bui l dcmake . . /make

    Now install GNU Radio for general use-

    sudo make i nst al l

    Step 5: Provide path for GNU Radio and Python

    export PYTHONPATH=/ usr / l ocal / l i b/ python2. 7/ di st - packagesexport LD_LI BRARY_PATH=/ usr / l ocal / l i b

    After this step open GNU Radio by typing gnuradio-companion in terminal and check for

    osmocom Source and RTL-SDR Source under Source Block. If not present, follow Step 6.

    Step 6:Follow this site ht t p: / / sdr . osmocom. or g/ t r ac/ wi ki / r t l - sdr

    The rtl-sdr code can be checked out with:

    gi t cl one gi t : / / gi t . osmocom. or g/ rt l - sdr . gi t

    Step 7:Install libusb1.0 from software centre

    Step 8: for installing RTL-SDR Source-

    As previously enter these commands one by one

    cd r t l - sdr /mkdi r bui l d

    http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstallhttp://gnuradio.org/git/gnuradio.githttp://gnuradio.org/git/gnuradio.githttp://sdr.osmocom.org/trac/wiki/rtl-sdrhttp://sdr.osmocom.org/trac/wiki/rtl-sdrhttp://gnuradio.org/git/gnuradio.githttp://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall
  • 5/21/2018 Installation of GNU Radio

    3/4

    cd bui l dcmake . . /makesudo make i nst al lsudo l dconf i g

    Step 9: Building UHD software-Follow this site ht tp: / / et tus -apps. sour cer epo. com/ r edmi ne/ et t us/ pr oj ect s/ uhd/ wi ki / UHD_Bui l d

    Install Prerequisites-

    sudo apt - get i nst al l l i bboost - al l - dev l i busb- 1. 0- 0- dev python- cheet ah doxygenpython- docut i l s

    and then install UHD

    gi t cl one gi t : / / gi t hub. com/ Et t usResear ch/ uhd. gi t

    Step 10:For osmosdr Source-

    gi t cl one gi t : / / gi t . osmocom. or g/ gr - osmosdr

    cd gr- osmosdr /

    then continue with

    mkdi r bui l dcd bui l d/cmake . . /

    Now build & install

    makesudo make installsudo ldconfig

    Step 11:Install UDEV rules so that your USB dongle is loaded when you plug it in

    Follow this site ht t p: / / f oxgul ch. com/ Wor dPress/ ?p=615

    ~/rtl-sdr/build $ cmake ../ -DINSTALL_UDEV_RULES=ON

    Step 12:Now test for the device

    r t l _sdr t est and

    rt l _ tcp test

    Step 13:

    In order to be able to use the dongle as a non-root user, you may install the appropriate udev rules

    file by calling

    sudo make i nst al l - udev- r ul es

    http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/UHD_Buildhttp://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/UHD_Buildhttp://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/UHD_Buildhttp://foxgulch.com/WordPress/?p=615http://foxgulch.com/WordPress/?p=615http://foxgulch.com/WordPress/?p=615http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/UHD_Buildhttp://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/UHD_Build
  • 5/21/2018 Installation of GNU Radio

    4/4

    Step 14:Now if everything is alright then you should be able to open GNU Radio by giving

    this command gnuradio-companion else follow above procedures and sites carefully.