After struggling with building uhd-host etc. for a while (didn’t go smoothly for me) I came across what I think is the easiest solution based on reading posts from the last few times this happened.It only requires repository packages. Here it is in some detail. I’m running ubuntu 16.04LTS.
Remove all traces of old gnuradio/gqrx installations
sudo apt-get purge --auto-remove gqrx
sudo apt-get purge --auto-remove gqrx-sdr
sudo apt-get purge --auto-remove libgnuradio*
sudo apt-get install gdebi-core
sudo apt-get install gdebi
Download the required .deb files
Download from https://launchpad.net/~ettusresearch/+archive/ubuntu/uhd/+builds?build_state=built to any directory (e.g. Downloads). You will need the “Built files”:
libuhd-dev_188.8.131.52-0ubuntu1~xenial1_amd64.deb (835.7 KiB)
libuhd003_184.108.40.206-0ubuntu1~xenial1_amd64.deb (2.3 MiB)
uhd-host_220.127.116.11-0ubuntu1~xenial1_amd64.deb (2.2 MiB)
Right click on each of these and “Open With” GDebi Package Installer. To satisfy dependencies, the order of installation needs to be: libuhd003, libuhd-dev, uhd-host.
Lock the version of each of these in Synaptic Package manager
if Synaptic is not installed:
sudo apt-get install synaptic
Open Synaptic. Search for “uhd”. Find and highlight (select) each of the three packages you just installed above. Lock the version to 3.10.2 (the version that should be installed). Go to “Package” (in title bar) then “Lock Version”. Close Synaptic.
Follow the instructions at: http://gqrx.dk/download/install-ubuntu starting with the addition of the repositories.
To upgrade gqrx etc in the future
Don’t forget to unlock the versions of libuhd003, libuhd-dev, uhd-host before attempting to upgrade gqrx, gnuradio, uhd, etc…