#!/bin/bash sudo apt-get update sudo apt-get install doxygen cmake libusb-1.0-0-dev libconfuse-dev -y tar xvfJ libftdi1-1.5.tar.xz cd libftdi1-1.5 if [ ! -d build ];then mkdir build;fi cd build cmake -DCMAKE_INSTALL_PREFIX="/usr" ../ make sudo make install