1

The instruction on the gnuradio website says I can install gnuradio just by call 'apt-get install gnuradio.' But I get the following error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gnuradio

I also tried 'sudo apt-get install gnuradio'. no luck.

My system is ubuntu 12.04.

8
  • 1
    packages.ubuntu.com/… reveals that it's in universe which you need to enable separately.
    – tripleee
    Nov 18, 2013 at 6:24
  • 2
    Belongs on askubuntu.com
    – tripleee
    Nov 18, 2013 at 6:25
  • 1
    But that is already enabled on my system...
    – nineties
    Nov 18, 2013 at 6:30
  • In the future, this really is a question for askubuntu, or, better yet, the GNURadio mailing list (discuss-gnuradio). It's a packaging question, not a question about programming.
    – bhilburn
    Nov 19, 2013 at 0:44
  • 1
    The link I provided is for Saucy (Ubuntu 13.10); the package appears to be unavailable in 13.04 and earlier. Find a backport (such as in Oprea's answer) or upgrade to the latest Ubuntu.
    – tripleee
    Dec 30, 2013 at 10:06

1 Answer 1

5

Add Ettus repository

bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list'
bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/gnuradio/ubuntu/`lsb_release -cs` `lsb_release -cs` main" >> /etc/apt/sources.list.d/ettus.list'

apt-get update
apt-get install -t `lsb_release -cs` uhd gnuradio
2
  • Thank you. that works. I'm still a little confused toward the end of the installation instruction (the standalone uhd). Did you get it from here?
    – nineties
    Nov 18, 2013 at 6:47
  • 1
    @theninety'er - UHD is always stand-alone from GNURadio. GR contains a component to use UHD, called GR-UHD, but it requires that UHD already be installed to use it.
    – bhilburn
    Nov 19, 2013 at 0:43

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.