wiki:InstallInstructionsPage
Last modified 8 months ago Last modified on 10/08/16 20:11:17

Install Instructions

As of this writing (fall 2016) we recommend the following procedures to install OP25 instead of using pybombs.

This recipe has been tested on ubuntu 14.04 only, it is likely NOT to work in either 12.04 or 16.04...

First, use these commands to install the pre-reqs

sudo apt-get update
sudo apt-get build-dep gnuradio
sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev  libhackrf-dev libitpp-dev libpcap-dev git

Second, use these commands to build and install OP25: (Note, the mkdir build; cd build; cmake ../; make; sudo make install sequence is a bog-standard form when source-building apps that utilize cmake.)

cd ~
git clone git://op25.osmocom.org/op25.git
cd op25
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Finally you may need to use the command

sudo rmmod dvb_usb_rtl28xxu

to remove the DVB kernel module that conflicts with the RTL USB SDR. You may also need to edit the system udev rules for the RTL -both are common issues and you can search for the needed resources if the RTL isn't getting recognized... Once this is all done (no longer a need to source any env commands into the shell) you should be ready to invoke scope.py, which is the principal OP25 GUI app... As a pre-check, you can also run the osmocom_fft application (which should install as part of the pre-reqs) to test basic RTL connectivity and rule out related problems before invoking scope.py...

Install Instructions (Deprecated)

Although we no longer recommend the use of pybombs to install OP25, the instructions below are retained here for reference. It may still be possible to use pybombs (esp. version 1) to build and install OP25 but this has not been tested.

The current version of OP25 is installed via pybombs http://gnuradio.org/redmine/projects/pybombs/wiki

To install OP25 using pybombs, run these commands

git clone git://github.com/pybombs/pybombs
cd pybombs
./pybombs install gr-op25

It should be OK to take all the defaults when asked for pybombs options. The installation process may take a long time. It isn't necessary to install GNURadio as a separate step, since GNURadio is automatically installed by pybombs as are other gr-op25 prerequisites.

Once pybombs has finished you must set up the environment

./pybombs env

This will generate the proper environment-setting commands and write them to a file. The name of the file is printed, for example /foo/bar/setup_env.sh. Now you must stream those commands into your running shell by using the following command

source /foo/bar/setup_env.sh

You must replace the example file name shown above (/foo/bar/setup_env.sh) with the actual name that "./pybombs env" printed.