I installed GR and USRP software from the binaries using the instructions found at: http://gnuradio.org/trac/wiki/DebianPackages As near as I can tell, it finished successfully. For instance, if I rerun $ 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.
on 2009-05-07 12:22
on 2009-05-08 14:00
Any help from anyone would be appreciated. Below is an exchange with David that may give a clue for someone else. Thanks. 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
on 2009-05-08 14:52
Hello, 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: http://savannah.gnu.org/projects/findutils/ ) 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 >> <http://gnuradio.org/ubuntu/dists/stable/main/binar... >>> > Discuss-gnuradio mailing list > firstname.lastname@example.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- David Tisza
on 2009-05-08 19:48
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 Patrick 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
on 2009-05-08 19:57
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 8.04? 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 http://gnuradio.org/ubuntu stable main contrib deb-src http://gnuradio.org/ubuntu stable main I had thought the fact that this is causing apt-get to go looking in directories that don't exist on the gnuradio.org site would spark a little bit of interest, but apparently not.
on 2009-05-08 20:05
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: /usr/local/bin/* /usr/local/lib/* /usr/local/lib/python2.x/site-packages/gnuradio/* /usr/local/include/* /usr/local/share/gnuradio/examples/* /usr/local/doc/gnuradio/* /usr/local/share/usrp/* 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, as: /usr/bin/* /usr/lib/* /usr/lib/python2.x/site-packages/gnuradio/* /usr/include/* /usr/share/gnuradio/examples/* /usr/doc/gnuradio/* /usr/share/usrp/* 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 usrp_fft.py. 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
on 2009-05-08 21:56
William, If you are looking for the example scripts, they are found in: /usr/share/gnuradio/examples/* Johnathan
on 2009-05-08 22:22
THANK YOU!!! I wasn't so much looking for the example scripts -- I was looking for anything. 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.
on 2009-05-08 23:26
I did not use apt-get to install GnuRadio instead I just downloaded and built the source files. svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio This will create a directory called gnuradio in the directory that you are 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 http://gnuradio.org/trac/wiki/BuildGuide and also here http://gnuradio.org/trac/wiki/UbuntuInstall Just post more questions if you have them!
on 2009-05-09 01:19
fyi you could also do a dpkg -L gnuradio to find every file a package provides dave
on 2009-05-09 13:15
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. Thanks. Quoting Johnathan C. <email@example.com>: