Skip to content

Building and Installing

Gabriel Mariano Marcelino edited this page Sep 22, 2019 · 6 revisions

Dependencies

The necessary dependencies are:

  • gnuradio (>= 3.7.9)
  • gr-osmosdr (>= 0.1.4)
  • libgtkmm-3.0-1v5 (>= 3.18.0)
  • python3-matplotlib (>= 1.5.1)
  • gqrx-sdr (>= 2.5.1)

The program should work in Ubuntu 16.04 or later, and probably any Debian-like distribution (check all the dependencies first).

To compile the source code, the following dependencies are also required:

  • libgtkmm-3.0-dev (>= 3.18.0)
  • gnuradio-dev (>= 3.7.9)

Installing

After all the dependencies are met, follow the instructions below:

  1. Go to this page and download the latest release (.deb package).
  2. Open a terminal.
  3. Go to the directory with the downloaded file.
  4. Execute the command $ sudo dpkg -i floripasat-grs_0.7-0_ubuntu18.04.deb
  5. Download the FPGA images to load into the USRP (only required to transmit data using the Ettus SDRs): $ uhd_images_downloader

You can also install it using the graphical interface of the Ubuntu package manager (opening the .deb package).

Note: To execute the program in a terminal, use the command $ floripasat-grs

Compiling and building

If necessary, you can also compile the program from its source files.

  1. To get the most recent code (but maybe unstable): $ git clone https://github.com/floripasat/grs.git . Or download the source files from the latest release here (stable version).
  2. In the main directory of the downloaded files, execute the command $ make -j4
  3. All the outputs of the compilation will be available in the folder "build", including the main executable.