個人上一篇博客講了gnuradio的安裝,當初雖然說是安裝成功了,可是如今想一想,當初的成果只是個備胎呀~~~ide
首先我想說,想要了解學習gnuradio的同窗,最權威的資料仍是gnuradio的官網,裏面的資料是最全面的,且是最新的。但願你們若是出現問題,在官網上來找解答。連接:http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR 。學習
還有一點就是安裝就要安裝最新的版本,由於gnuradio的更新是很是快的。安裝過老的版本,每每會出現不少問題。fetch
腳本安裝是最簡單的方法,官網上的權威說法是:flex
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就行了。
祝你們成功安裝!