You can follow these steps for installing it from source
Thee are two methods to install but I preferred to install it from source
1)Install Dependencies:
//Copy the below commands and paste it in terminal(all at a single time)//
sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev fort77 sdcc sdcc-libraries 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 libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4
2)Install prerequesties for UHD
sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils cmake
3)Installing UHD from git
git clone git://
github.com/EttusResearch/uhd.git4)Cmake for UHD
//Follow these commands step by stp//
cd uhd/host/
mkdir build
cd build/
cmake ../
5) //Check the output of above one regarding the disabled components. Based upon our requirement we should select the USRP.//
For example: cmake -DENABLE_USRP_E_UTILS=ON -DENABLE_E100=ON ../
6)make
7)Installing UHD and setting library path
make test(check whether it shows 100% or not)
sudo make install
cd
sudo gedit .bashrc
8)//Add this after HISTCONTROL=ignoredups:ignorespace//
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:usr/local/lib
//Save it and close//
9)git clone
http://gnuradio.org/git/gnuradio.git///This will take some time Can take even more than 2hrs////
cd gnuradio/
mkdir build/
cd build/
cmake ../
make
make test
sudo make install
sudoldconfig
cd
cd /usr/local/lib/python2.6/dist-packages/
pwd
//copy the path//
cd
sudo gedit .bashrc
10) In 8th step we have added a path, after that one add
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages
//if u prefer python 3.0 then u can add 3.0//
//Save it and close//
11)sudo ldconfig
12)sudo apt-get install gnuradio-companion
Note:
1)If you get any error related to dpkg then run the command as suggested in the error.
2)Installation can take around 2hours and it depends upon the speed of your internet