Last active
January 1, 2017 07:37
-
-
Save maxpromer/b37c0859de9a92de19fef7c03c2fdafd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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