# Install uhd after usrp drivers

**URL:** <https://www.ruby-forum.com/t/install-uhd-after-usrp-drivers/235003>\
**Category:** GNU Radio\
**Created:** [May 24, 2013, 3:35pm UTC](https://www.ruby-forum.com/t/install-uhd-after-usrp-drivers/235003 "2013-05-24T15:35:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [May 24, 2013, 3:35pm UTC](https://www.ruby-forum.com/t/install-uhd-after-usrp-drivers/235003/1 "2013-05-24T15:35:53Z")

</div>

Hi, I’ve managed to install gnuradio from source before I installed the  
UHD  
driver from ettus, and now gnuradio cannot find the uhd source and sink  
blocks. After looking in the directories for the installation, I cannot  
find uhd files such as usr/share/gnuradio/examples/uhd. Furthermore, in  
python I type “from gnuradio import uhd” and it cannot be found.

My question is: does the uhd installation fail if the uhd drivers from  
ettus are not first installed?

And secondly, can I install only the uhd directory from source, without  
having to re-install gnuradio all over again?

Thanks,

Jeff

---

<div class="post-metadata">

**Author:** ![jhagemeier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@jhagemeier](https://www.ruby-forum.com/u/jhagemeier)\
**Post date:** [May 24, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/install-uhd-after-usrp-drivers/235003/2 "2013-05-24T15:48:09Z")

</div>

Hi Jeff,

If you are compiling GNU Radio from source you need to install the UHD  
first otherwise it will not compile in the necessary components.

If you already have GNU Radio installed from source, you will need to  
uninstall GNU Radio, compile and install UHD followed by compiling and  
installing GNU Radio.

The build GNU Radio script from Marcus L. is highly recommended as it  
also does the UHD:

[http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script](http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script)

Regards,

Mike

–  
Mike J. M0MIK BSc MIET  
Email: removed\_email\_address@domain.invalid  
Web: [http://scanoo.com](http://scanoo.com)  
[http://scanoo.com](http://scanoo.com)
