Skip to content

Instantly share code, notes, and snippets.

@iDoka
Last active October 1, 2018 12:48
Show Gist options
  • Save iDoka/484747948aae39452fe22ba6d80f89c4 to your computer and use it in GitHub Desktop.
Save iDoka/484747948aae39452fe22ba6d80f89c4 to your computer and use it in GitHub Desktop.
Universal Radio Hacker install on CentOS 7

How to install amazing tool Universal Radio Hacker onto amazing distro CentOS 7

Intro

Dependency list:

  • python3
  • cython
  • numpy
  • psutil
  • pyzmq
  • puqt5
  • PyQt5_sip (sip)

By default CentOS 7 supplied with 2.7 and 3.4 Python versions. PyQt5 is not packaged for Python 3.4 on PyPi [Link] as a wheel.

  1. Most easy way for solve this: a more recent Python version e.g. Python 3.6. (see next chapter)
  2. Most hard way: compile SIP and PyQt5 for yourself

Build

  1. Prerequisites for HackRF and RTL-SDR native support:
sudo  yum -y install  hackrf hackrf-devel rtl-sdr rtl-sdr-devel
  1. Install Python 3.6 from IUS repo (You can also try Python 3.6 from EPEL repo):
sudo yum -y install https://rhel7.iuscommunity.org/ius-release.rpm
sudo yum -y install python36u-pip python36u-devel
  1. Build URH:
sudo python3.6 -m pip install cython
sudo python3.6 -m pip install urh

@jopohl , Vielen Dank!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment