Wednesday, 26 June 2013

How to Install GNURadio on Ubuntu 12.04

I have followed GNU Radio Installation for Ubuntu Linux 12.04 and summarize here the procedure.

  •     Installation from Ettus Research
  •     Installing manually from source

 

Installation from Ettus Research

Install the required dependencies as mentioned at Install-Dependencies
Download UHD
Install this package using Ubuntu Software Center
Download GnuRadio
install these packages using Ubuntu Software Center
After installation set the PYTHONPATH and LD_LIBRARY_PATH environment variables
Default installation uses following paths /usr/bin and /usr/lib/python2.7/dist-packages
Export the paths as

$ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin


Installing manually from source

Install the required dependencies as mentioned at Install-Dependencies
Download and install UHD software from source by these command for Ubuntu:

$ git clone git://github.com/EttusResearch/uhd.git
$ cd uhd/host/
$ mkdir build
$ cd build/
$ cmake ../
$ sudo apt-get install cmake
$ cd uhd/host/
$ mkdir build
$ cd build/
$ cmake ../
$ cmake -DENABLE_E100=ON ../
$ cmake -DENABLE_E100=ON -DENABLE_B100=ON../
$ make
$ sudo make install
$ cd
$ sudo gedit .bashrc

Set library path in the text file

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:usr/local/lib

and save the file

$ sudo ldconfig


Download and install GNURadio software from source by this command for Ubuntu:

$ git clone http://gnuradio.org/git/gnuradio.git
$ cd gnuradio/
$ mkdir build
$ cd build/
$ cmake ../
$ make
$ make test
$ sudo make install
$ sudo ldconfig
$ cd
$ cd /usr/local/lib/python2.7/dist-packages
$ ls
$ pwd
$ cd
$ sudo gedit .bashrc

Set library path in the text file

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages

and save the file

$ sudo ldconfig
$ sudo apt-get install gnuradio-companion
$ gnuradio-companion
$ cd /usr/local/bin/
$ ls
$ cd






5 comments:

  1. I am following same commands for Ubuntu 14.04, its not working. Can u suggest me any proper document for 14.04?

    ReplyDelete
    Replies
    1. Hi I suggest you use this http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource. I haven't used the pybombs stuff but that might work BUT I have used the build-gnuradio script by Marcus Leech. It's pretty perfect. I suggest first building on a VM and just noting any changes you need to make and then redoing it on a clean Ubuntu machine. That way if it messes up you can just scrap the VM and restart

      Delete
    2. Anuja, I will recommend you to just install it by this command:
      $ sudo apt-get install gnuradio

      Delete
    3. Depends on what you're using it for. If you're just using gnuradio that works fine but last time I used that I had issues with uhd and using an usrp

      Delete
  2. Play Free Spins at the Casino with Mapyro
    Play at 속초 출장샵 the Casino 제주 출장샵 with 제주도 출장마사지 Mapyro, the world's best free slots 성남 출장안마 casino 김천 출장마사지 with bonus spins, jackpots and live dealer tables.

    ReplyDelete