Installing and running GNURadio-companion and getting it to work on Windows 10 was easy. Not so on Linux, but after seven full days of trials and repeated failure, I now have my HackRF working with GNURadio-companion on my Ubuntu laptop; however, every time I execute a radio, I have to disconnect and reconnect the HackRF or else GNURadio-companion can not find the HackRF again. Any quick suggestions on how to improve its memory?
For anyone that is interested, my installation started with resetting my Dell XPS13 to a factory-fresh Ubuntu 18.04 configuration, then executing the following commands:
sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev
git clone https://github.com/mossmann/hackrf.git
cd hackrf/host
mkdir build && cd build
cmake ../
make
sudo make install
sudo ldconfig
rm -rf *
hackrf_info
cd ~
sudo apt-get install gnuradio gnuradio-dev gr-iqbal
sudo apt install gqrx-sdr
sudo apt install git
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr
mkdir build && cd build
cmake ../
make
sudo make install
sudo ldconfig
gnuradio-companion