安装gnuradio最简单的方法

个人上一篇博客讲了gnuradio的安装,当初虽然说是安装成功了,可是如今想一想,当初的成果只是个备胎呀~~~ide

首先我想说,想要了解学习gnuradio的同窗,最权威的资料仍是gnuradio的官网,里面的资料是最全面的,且是最新的。但愿你们若是出现问题,在官网上来找解答。连接:http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR   。学习

还有一点就是安装就要安装最新的版本,由于gnuradio的更新是很是快的。安装过老的版本,每每会出现不少问题。fetch

脚本安装是最简单的方法,官网上的权威说法是:flex

Using the build-gnuradio script

The build-gnuradio is an install script for recent Fedora and Ubuntu systems provided by Marcus Leech.ui

The build-gnuradio script has a number of options that we can use to install different versions of GNU Radio. Just running build-gnuradio with no additional options, it fetches/builds the latest released version from the 3.7 series.this

Passing the flag -m will fetch and build master/HEAD.code

Passing the flag -o will fetch and build the latest in the old 3.6 series.ip

For the impatient: open a terminal window, move to the directory you would like the source files to be stored (e.g. 'cd src/'), remove old build-gnuradio file, and run this command:ci

$ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

This downloads the installer (build-gnuradio) and makes it executable. It then downloads and installs all dependencies, downloads both UHD and GNU Radio from Git (which means it will automatically install the latest version from the 'master' branch), runs the make process, and installs it on your system (a lot of this is done silently, so if there's a lot to do for the script, don't be surprised if it doesn't say anything for a while). In most cases, simply running the script will do all you need to get a running GNU Radio system built from source. Also, you will have all the source code lying on your hard disk and therefore available for future modifications. It combines the flexibility of installing from source with the ease of using binaries and is recommended for most users of Ubuntu and Fedora.rem

Thanks to Marcus Leech for putting this together and hosting it.

意思很简单,就是在终端直接输入wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

过程是很长,并且与网速有关,你们要耐心等待。其中几步须要你们操做一下,就是输入y就行了。

祝你们成功安装!

相关文章
相关标签/搜索