GNUradio 源码安装教程
1、ctrl alt t 打开 Ubuntu 终端。
2、输入 su - root 进入 root 用户
3、Ubuntu 系统运行:
sudo apt-get update
4、安装 UHD 和 GNURadio 所需依赖项:
On Ubuntu16.04systems, run:
sudo apt-get -y install git swig cmake doxygen build-essential libboost-
all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-
dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5
libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy
python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-
dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-
dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-
bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev
libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++
automake autoconf libtool python-dev libfftw3-dev libcppunit-dev
libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev
python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl
libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default
qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev
pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-
engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev
libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-
sphinx libcomedi-dev python-zmq
2. 获取 UHD 和 GNURadio 源码
使用 git 命令
1、首先输入 git 命令,观察系统是否安装了 git 若没有,在命令行模式下输入 sudo apt-get
install git 进行安装。
2、安装完成后,使用 git 命令下载源码
下载 UHD 源码:
git clone https://github.com/EttusResearch/uhd
下载 GNURadio 源码:
git clone --recursive https://github.com/gnuradio/gnuradio
评论5