# srsRAN Installation ## Install Requirement on Ubuntu, one can install the required libraries with: ``` sudo apt install build-essential cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev ``` ## Package Installation The srsRAN software suite can be installed using packages on Ubuntu: ``` sudo add-apt-repository ppa:softwareradiosystems/srsran sudo apt-get update sudo apt-get install srsran -y ``` ## Install srsGUI srsGUI is a free and open-source graphics library for SDR using Qt and Qwt. The library provides a number of useful plots for graphing real and complex numbers. Each plot is designed to be frequently updated with new data. srsGUI is provided under the LGPLv3 license. Current Features: * Real plot - simple line plot. * Complex plot - plot including real, imaginary, magnitude and phase values. * Scatter plot - 2-D scatter plot for complex-valued data. * Waterfall plot - includes a line plot and waterfall plot showing past values using a colour legend. ``` sudo apt install libboost-system-dev libboost-test-dev libboost-thread-dev libqwt-qt5-dev qtbase5-dev ``` Finally, to download and build srsGUI, just run: ``` git clone https://github.com/srsLTE/srsGUI.git cd srsgui mkdir build cd build cmake ../ make make test ``` ## Download and build srsRAN ``` git clone https://github.com/srsRAN/srsRAN.git cd srsRAN mkdir build cd build cmake ../ make make test ``` Install srsRAN: ``` sudo make install srsran_install_configs.sh user ``` Run srsRAN and srsUE ``` sudo srsenb sudo srsue ``` Because lack of RF device and components, you will get some rrors whn run srsRAN/srsUE [srsRAN with ZeroMQ Virtual Radios](https://docs.srsran.com/en/latest/app_notes/source/zeromq/source/index.html)