Forum: GNU Radio Where is GR installed in Ubuntu?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
William L. Bahn (Guest)
on 2009-05-07 12:22
(Received via mailing list)
I installed GR and USRP software from the binaries using the
instructions found at:

As near as I can tell, it finished successfully. For instance, if I

$ sudo apt-get install gnuradio usrp

It says that both are the newest versions.

But where did it get installed? I can't find it anywhere.
William L. Bahn (Guest)
on 2009-05-08 14:00
(Received via mailing list)
Any help from anyone would be appreciated. Below is an exchange with
David that may give a clue for someone else.


David Tisza wrote:
> William L. Bahn írta:
>> When I try the following, I get that neither command is found.
>> $> sudo updatedb
>> $> locate gnuradio | less
> what do you mean they're not found?
This is what happens:

wbahn@wbahn:/$ sudo updatedb
[sudo] password for wbahn:
sudo: updatedb: command not found
wbahn@wbahn:/$ locate gnuradio | less

I get a cleared screen with (END) in the upper left corner and I can't
scroll at all. After hitting 'q' I'm back to the above with the next
line being:

bash: locate: command not found
David Tisza (Guest)
on 2009-05-08 14:52
(Received via mailing list)
William L. Bahn írta:
>>> $> locate gnuradio | less
> scroll at all. After hitting 'q' I'm back to the above with the next
> line being:
> bash: locate: command not found
As I said in my original message:
>> if they are not installed to your system, I mean locate, then try
>> running the synaptic package manager and find the package locate
>> (more info: )
This happens because neither the locate nor the updatedb command is not
installed to your system (they are in one package)
The "locate" is not connected to gnuradio at all, but rather a useful
tool in linux systems. If you read the link above, and I'm sure you did,
it is clear to you that the "updatedb" makes a hash database of your
files in your system where are they etc, and the command "locate" uses
the database made by the "updatedb" to find patterns in filenames. So
the command
"$> sudo updatedb" creates or refreshes the database (you need to run it
with admin privileges)
and the command "$>locate gnuradio" finds all filenames which contains
the term gnuradio.
I'm pretty sure that you know what a pipe is and the "cleared screen
with (END) in the upper left corner" is made by the program less,
because it did not receive anything from the command "locate gnuradio"
so it displays an empty string.

So this suggestion was just only to help you find your gnuradio files on
your system, it is not connected to gnuradio by any means.
>>> W: Failed to fetch
>> <
> Discuss-gnuradio mailing list
> removed_email_address@domain.invalid

David Tisza
Patrick S. (Guest)
on 2009-05-08 19:48
(Received via mailing list)
William L. Bahn wrote am 2009-05-07 09:21:

> $ sudo apt-get install gnuradio usrp
 > But where did it get installed? I can't find it anywhere.

If you have apt-get, you have dpkg too.

dpkg -L gnuradio


ps: Always repeat information from the subject in the body. This makes
reading, replying and quoting much easier.
Engineers motto: cheap, good, fast: choose any two
Patrick S. <patrick dot strasser at student dot tugraz dot at>
Student of Telematik, Techn. University Graz, Austria
William L. Bahn (Guest)
on 2009-05-08 19:57
(Received via mailing list)
Do be so sure that someone that has virtually no experience with Linux
and, more specifically, less than a couple of hours experience with
Ubuntu, knows what "less" is.

I downloaded the findutils tar.gz file and extracted it. While trying to
run ./configure it gave an error that the C compiler cannot create
executables. I've looked over the log file and I'm not sure, but I think
that either gcc isn't installed of else it can't find it.

Is there really no one in the entire Gnu Radio community that has any
idea where apt-get tries to put the gnuradio and usrp trees in Ubuntu

How on earth is anyone supposed to get started when, as near as I can
tell, no place on the Wiki tells someone what to do after adding their
username to the usrp group?

You had asked for the relevant lines from the source.list file. Here are
the lines I added:

deb stable main contrib
deb-src stable main

I had thought the fact that this is causing apt-get to go looking in
directories that don't exist on the site would spark a
little bit of interest, but apparently not.
Johnathan C. (Guest)
on 2009-05-08 20:05
(Received via mailing list)
On Fri, 2009-05-08 at 17:47 +0200, Patrick S. wrote:

> dpkg -L gnuradio

Not to complicate things, but this won't work as expected.  There are
many binary packages for Ubuntu, and the 'gnuradio' package is simply a
meta-package that depends on the others, for ease of installation.  So
the above won't show any real files.

The primary difference in installation location between a source install
and a binary install is in the 'prefix'.

Source installations, unless told differently, are all rooted
at /usr/local, and the various files go into subdirectories there:


The /usr/local hierarchy is for files that are *not* maintained by the
system packaging library.

When installing GNU Radio in Ubuntu from binary packages, the standard
system installation locations are used, which are all rooted at /usr,


This is all per the Filesystem Hierarchy Standard (FHS) and the
Debian/Ubuntu packaging policy.

The most common things a user might look for after an install of either
type are the example scripts and the utilities like

The example scripts are installed into the locations noted above, while
the utility scripts are installed into the bin directory.  Since the bin
directory is on the user's PATH, he or she doesn't have to actually go
to those directories to run them; instead, they can just invoke them
from whatever directory they happen to be in.

Hope this clears things up.

Johnathan C. (Guest)
on 2009-05-08 21:56
(Received via mailing list)

If you are looking for the example scripts, they are found in:


William L. Bahn (Guest)
on 2009-05-08 22:22
(Received via mailing list)

I wasn't so much looking for the example scripts -- I was looking for

Unless I really missed something on the Wiki, shouldn't there be
something there telling people where the top of the gnuradio tree is
placed (in this case, /usr/share, though I suppose that might vary from
distro to distro). Otherwise the new user is left hanging having no idea
where to find the software they just installed. Perhaps people that are
experienced linux users would just simply know that this is where stuff
like this gets installed to, but there are lots of us that have no
reason to know to look there.

Again - thank you very much.

If I can get this little Dell netbook talking to the USRP, I think I
will have some data that will be at least of passing interest to some of
the folks here when I get finished with a week long exercise I'm heading
out to.
Adam Audino (Guest)
on 2009-05-08 23:26
(Received via mailing list)
I did not use apt-get to install GnuRadio instead I just downloaded and
built the source files.

svn co gnuradio

This will create a directory called gnuradio in the directory that you
in when you ran that command.

If you do not have svn, use the following command to install it

sudo apt-get install subversion

I followed the rest of the instructions here

and also here

Just post more questions if you have them!
davek (Guest)
on 2009-05-09 01:19
(Received via mailing list)
fyi you could also do a
dpkg -L gnuradio
to find every file a package provides

unknown (Guest)
on 2009-05-09 13:15
(Received via mailing list)
This definitely helps - and I think it would be something very useful
to add to the Wiki in the Build Guide or Getting Started pages.


Quoting Johnathan C. <removed_email_address@domain.invalid>:
This topic is locked and can not be replied to.