Skip to content

Instantly share code, notes, and snippets.

@maxpromer
Last active January 1, 2017 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxpromer/b37c0859de9a92de19fef7c03c2fdafd to your computer and use it in GitHub Desktop.
Save maxpromer/b37c0859de9a92de19fef7c03c2fdafd to your computer and use it in GitHub Desktop.
echo "System update"
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
echo "Install tool and NodeJS Python"
apt-get install git build-essential nodejs-dev python-dev cmake automake Libpcre3 libpcre3-dev Byacc flex -y
echo "Install swig"
cd /root
git clone https://github.com/swig/swig.git
cd swig
./autogen.sh
./configure
make
make install
echo "Install MRAA Lib"
cd ..
git clone https://github.com/intel-iot-devkit/mraa.git
cd mraa
mkdir build
cd build
cmake ..
make
make install
echo "Copy lib to /usr/lib"
cp -a /usr/local/lib/* /usr/lib
echo "Complete installation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment