
Option A: Install URH like a boss
Install prerequisites
Depending the SDR device you are going to use, you need to install the packages which manage your SDR in linux. For example, for HackRF:
sudo apt install -y hackrf libhackrf0 libhackrf-dev
For BladeRF:
sudo apt install -y libbladerf2 libbladerf-dev bladerf-firmware-fx3
Install the dependencies required by URH:
sudo apt install python3-pip python3-setuptools python3-wheel python3-dev build-essential cython3 python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebengine
Create an python virtual environment:
python3 -m venv urhenv
source urhenv/bin/activate

Into the virtual environment, execute the following:
pip install cython setuptools wheel numpy pyrtlsdr pyhackrf pyusb psutil pyqt5
Build URH
Clone the URH Github repo and build the tool with setup.py:
git clone https://github.com/jopohl/urh/
cd urh
python setup.py install
python setup.py build_ext --inplace
Finally, open URH with the command “urh” and go to Edit -> Options. And enable the features for you SDR (in my case for HackRF and BladeRF)

And voalaa!

At the end, if do you want, you could create a Desktop launcher for URH:


With that, you can run URH from the desktop
Option B (Docker) like a fake hacker
Be a looser and just run the URH Docker (https://hub.docker.com/r/jopohl/urh/)
- Connect your SDR device to your computer
- Run the following commands:
docker run --rm \
-e DISPLAY=${DISPLAY} \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME:/root \
--privileged \
jopohl/urh
