2016年7月12日 星期二

Install GNURadio and UHD on Ubuntu 14.04 LTS

Even now, I still cannot promise the 100% successful installation method of these two packages. There are many kinds of method for installing theses two packages, but the instruction here is my recent successful experience on my computer.

Install Prerequisites

  • sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils
  • sudo apt-get install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk2.8 git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev python-docutils gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 libasound2-dev python-gtk2
  • sudo apt-get update

 Install UHD

  •  sudo add-apt-repository ppa:ettusresearch/uhd
  •  sudo apt-get update
  •  sudo apt-get install libuhd-dev libuhd003 uhd-host

Install GNURadio

  1. Download the desired version from this page (I choose gnuradio-3.7.9.3.tar.gz). Then unzip the file.
  2.  Make & install
  • cd  <gnuradio-repo-path>/
  • mkdir build
  • cd build
  • cmake ../
  • make -j 4
  • make test
  • sudo make install
  • sudo ldconfig