InstallingGRFromSource on Raspberry Pi: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(replace Clone and Build sections with a referral to InstallingGR#To_install_system_wide)
m (corrected link in Build)
Line 32: Line 32:
<p>The next steps will take two or more hours. Be patient. The terminal does show the progress.</p>
<p>The next steps will take two or more hours. Be patient. The terminal does show the progress.</p>


Click to [https://wiki.gnuradio.org/index.php/InstallingGR#To_install_system_wide install GR system-wide].
Click [[InstallingGR#To_install_system_wide|here]] to show install instructions.

Revision as of 11:28, 25 October 2019

These instructions have been tested with the Raspbian Buster with desktop and recommended software Operating System on a Raspberry Pi 3B+. A 32GB microSD card is recommended.

Load prerequisites

You may have some of these prerequisites already, but it doesn't hurt to get them again and check for the latest versions.

sudo apt-get update --allow-releaseinfo-change
sudo apt-get upgrade
sudo apt-get install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy
sudo apt-get install python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev
sudo apt-get install libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5
sudo apt-get install liblog4cpp5-dev libzmq3-dev python3-yaml
sudo apt-get install libpthread-stubs0-dev
sudo pip3 install click-plugins
sudo apt-get install python3-scipy
sudo ldconfig

Set up a swap file

A swap file will improve the compile time greatly.

sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

To make the swap file permanent, add this line to /etc/fstab

/swapfile  none  swap  sw  0  0

Build

The next steps will take two or more hours. Be patient. The terminal does show the progress.

Click here to show install instructions.