# Updating GNU Radio, UHD or PyBOMBS

**URL:** <https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822>\
**Category:** GNU Radio\
**Created:** [October 29, 2014, 8:54pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822 "2014-10-29T20:54:40Z")\
**Posts on this page:** 8\
**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:** [October 29, 2014, 8:54pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/1 "2014-10-29T20:54:40Z")

</div>

Hi all,

I am new to all of this, so I’m looking for some guidance. I recently  
setup  
UHD and GNURadio using PyBOMBS on Ubuntu 14.04. I now want to do a git  
pull  
and update my stuff. I’m not sure what commands to execute after I do  
the  
git pull for each.

For example, I found two different recommendations for updating gnuradio  
after a git pull

First way:

_git pull_

_rm -Rf build_

_mkdir build_

_cd build_

_cmake …/_

_make_  
_sudo make install_

Second way:

_git pull_

_cd build_

_make_  
_sudo make install_

Is the removal of the existing build directory and cmake command  
necessary?

After executing git pull, what directory do I need to go to and commands  
do  
I need to run for PyBOMBS and UHD?

v/r,  
Rich

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 29, 2014, 9:20pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/2 "2014-10-29T21:20:20Z")

</div>

Sometimes it’s safer to clear the build dir, usually it’s OK to leave  
in. If you have any cmake variables set, you’ll need to reset them if  
you clear the dir.

UHD is updated the same way. In all cases, it depends where you  
installed your stuff.

pybombs can do all this for you, by the way: ./pybombs update

…although I don’t think this will update pybombs itself.

M

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 29, 2014, 9:34pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/3 "2014-10-29T21:34:04Z")

</div>

Thanks Martin, but I’m still unsure of this process.

1. I tried using ./pybombs update, but it doesn’t look like it initiated  
a  
build process on anything. Did you mean to imply it would do that, or  
just  
the git pull process for gnuradio and uhd?

2. There is no build directory in uhd, like there was in gnuradio. From  
the  
pybombs/src/uhd directory where do I need to be to execute make and sudo  
make install?

3. There is also no build directory in pybombs, where should I execute  
make  
and sudo make install?

Thanks,  
Rich

On Wed, Oct 29, 2014 at 1:18 PM, Martin B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 29, 2014, 10:48pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/4 "2014-10-29T22:48:02Z")

</div>

On 10/29/2014 09:32 PM, Richard B. wrote:

> Thanks Martin, but I’m still unsure of this process.
> 
> 1. I tried using ./pybombs update, but it doesn’t look like it initiated  
> a build process on anything. Did you mean to imply it would do that, or  
> just the git pull process for gnuradio and uhd?

Hm, I thought that’s what it would do. Maybe it just git pulls.

> 1. There is no build directory in uhd, like there was in gnuradio. From  
> the pybombs/src/uhd directory where do I need to be to execute make and  
> sudo make install?

You sure? Maybe pybombs/src/uhd/host/build ?

> 1. There is also no build directory in pybombs, where should I execute  
> make and sudo make install?

That you just git pull. It’s pure Python, and doesn’t get installed, so  
it just needs a build process.

M

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 29, 2014, 11:08pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/5 "2014-10-29T23:08:55Z")

</div>

Well, I can tell you that I deleted the gnuradio build directory and  
then  
executed ./pybombs update to see if it would start the build process. It  
did not. As of now I’m not really sure what ./pybombs update does. The  
wiki  
leads me to believe it’s supposed to do the pull and build process, link  
below to explanation of ./pybombs update.

[http://gnuradio.org/redmine/projects/pybombs/wiki/Using](http://gnuradio.org/redmine/projects/pybombs/wiki/Using)

Unfortunately, the wiki also recommends that we don’t update each recipe  
manually, because we could break a dependency. So at this point, I’m  
still  
not sure what I’m supposed to do to update my install when new versions  
of  
gnuradio or uhd come out. Can someone with experience in this flow chime  
in  
for me. Much appreciated.

Rich

On Wed, Oct 29, 2014 at 2:46 PM, Martin B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 30, 2014, 5:10pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/6 "2014-10-30T17:10:01Z")

</div>

Just reinstall it. No hassle 🙂

M

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 31, 2014, 7:53pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/7 "2014-10-31T19:53:39Z")

</div>

I’m still asking for help with this maintenance process. I tried the  
‘./pybombs remove’ command to get rid of uhd and gnuradio as a test. I  
didn’t get any error or warnings and it completed. When I looked in the  
pybombs/src folder, both gnuradio and uhd folders still existed there. I  
deleted them by hand. I then tried the ‘./pybombs install uhd’ command  
to  
reinstall uhd, but pybombs seems to think it’s installed.

I’m really at a loss as to how I’m supposed to do things here. I think  
in  
theory, pybombs would make all of this painless, but I’ve either done  
something terribly wrong and screwed pybombs up at this point, or it’s  
not  
working as intended.

What should I do at this point to fresh install with pybombs? I checked  
the  
packages I have installed on my ubuntu and I don’t see gnuradio or uhd  
in  
the list, which is good. If I deleted the pybombs folder and start over  
from there, would you expect a clean installation at that point? Is that  
what Martin meant by “Just reinstall it”?

Thanks,  
Rich

On Wed, Oct 29, 2014 at 4:06 PM, Martin B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![reback](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@reback](https://www.ruby-forum.com/u/reback)\
**Post date:** [October 31, 2014, 9:55pm UTC](https://www.ruby-forum.com/t/updating-gnu-radio-uhd-or-pybombs/232822/8 "2014-10-31T21:55:20Z")

</div>

Try running  
Pybombs clean gnuradio  
Pybombs clean uhd  
And then installing

-Tim
