Talk:InstallingGR
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.gitcd gnuradiogit checkout maint-3.8# change `maint-3.8` if you want to use a different version; see releasesmkdir buildcd buildcmake -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 -j3but specify one less than the total so the system does not appear to 'freeze'. makemake testsudo make installsudo ldconfig- If you used
-DCMAKE_INSTALL_PREFIX=XXXin 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.