安裝需求:
- USB3 interface
- Modern multicore CPU (Intel Core i5, Core i7 or equivalent with SSE4.1 SSE4.2 and AVX support)
- UHD driver installed (for Ettus SDRs)
- GNURadio
With an Ettus radio (B200, B210) you will need the latest UHD driver besides GNURadio.
安裝OpenLTE之前需要安裝好最新版UHD和GNURadio.安裝教程參見:
GNU Radio安裝教程: Ubuntu14.04 + uhd3.10.0 + gnuradio3.7.10.1
Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux
安裝PolarSSL:
Ubuntu系統執行如下命令
1 $ sudo apt-get update 2 $ sudo apt-get install libpolarssl-dev
安裝Osmosdr
Osmosdr源碼獲取
$ git clone git://git.osmocom.org/gr-osmosdr
如果GNURadiio版本是3.6,需要使用如下命令將分支切換到gr3.6,3.7版本無需此操作
$ cd gr-osmosdr/ $ git checkout gr3.6
編譯安裝
$ cd gr-osmosdr/ $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸載,在build目錄下運行
$ sudo make uninstall
如需生成API文檔,編譯時使用以下命令
$ cd build/ $ cmake ../ -DENABLE_DOXYGEN=1 $ make -C docs
安裝完成之后,在gr-osmosdr/build/docs/doxygen/html/index.html目錄下有API文檔。
安裝LibbladeRF
源碼獲取
$ git clone https://github.com/Nuand/bladeRF.git
編譯安裝
$ cd host/ $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸載,在build目錄下運行
$ sudo make uninstall
安裝OpenLTE
源碼獲取
https://sourceforge.net/projects/openlte/files/
Download and extract the latest version and go to the extracted folder.
編譯安裝
$ cd <源碼所在文件夾> $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸載,在build目錄下運行
$ sudo make uninstall
參考文獻
OpenLTE官網連接: https://sourceforge.net/projects/openlte/
installing openlte: https://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/
Osmosdr安裝:http://osmocom.org/projects/sdr/wiki/GrOsmoSDR
bladeRF安裝:https://github.com/Nuand/bladeRF/wiki/Getting-Started%3A-Linux