Talk:InstallingGR

From GNU Radio
Revision as of 15:06, 27 January 2020 by Duggabe (talk | contribs) (Created page with "= DRAFT revisions to "To install system wide" = == To install system wide == <p><b>It is highly recommended that you start in your home directory.</b></p> * <code>cd ~/</cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DRAFT revisions to "To install system wide"

To install system wide

It is highly recommended that you start in your home directory.

  • cd ~/
  • git clone --recursive https://github.com/gnuradio/gnuradio.git
  • cd gnuradio
  • git checkout maint-3.8 # change `maint-3.8` if you want to use a different version; see releases
  • mkdir build
  • cd build
  • cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../ # see other options below
  • Note: if your computer has multiple cores, you can use the -j option for 'make' to speed compilation, e.g. make -j3 but specify one less than the total so the system does not appear to 'freeze'.
  • make
  • make test
  • sudo make install
  • sudo ldconfig
  • If you used -DCMAKE_INSTALL_PREFIX=XXX in your 'cmake' command, then your prefix is XXX; otherwise it is /usr/local.
  • Go to Setting PYTHONPATH to set your PYTHONPATH and LD_LIBRARY_PATH.