# Ubuntu 16.04 from USB stick
sudo apt-get install -y ssh
sudo apt-get install -y synaptic
sudo apt-get install -y octave # 4.0.0. do not install -y 4.2 yet as bug with comms package
sudo apt-get install -y liboctave-dev
sudo apt-get install -y octave-communications
sudo apt-get install -y octave-control
sudo apt-get install -y octave-general
sudo apt-get install -y octave-signal
sudo apt-get install -y git
sudo apt-get install -y cmake
sudo add-apt-repository ppa:myriadrf/drivers
sudo add-apt-repository ppa:pothosware/framework
sudo add-apt-repository ppa:pothosware/support
sudo apt-get update
###
### LIME SUITE - build from repos
###
sudo apt-get install -y limesuite
sudo apt-get install -y liblimesuite-dev
sudo apt-get install -y limesuite-udev
sudo apt-get install -y limesuite-images
sudo apt-get install -y soapysdr
sudo apt-get install -y soapysdr-module-lms7
###
### LIME SUITE - build from source
###
sudo apt-get install -y libsqlite3-dev
sudo apt-get install -y libsoapysdr-dev 
sudo apt-get install -y libi2c-dev 
sudo apt-get install -y libusb-1.0-0-dev
sudo apt-get install -y libwxgtk3.0-dev
sudo apt-get install -y freeglut3-dev
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
cmake ../
make -j4
sudo make install -y
cd ../octave
make
cd ../udev-rules
sudo ./install -y.sh
cd ~
