Last active
March 30, 2017 01:57
-
-
Save bobvanluijt/571fdadf60a22dd2f7eb8d04f53b2338 to your computer and use it in GitHub Desktop.
Android Things - device step I
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
#!/bin/sh | |
### | |
# Make sure the locale settings are in order: http://askubuntu.com/a/229512/119583 | |
# Tested on Ubuntu 16.04 LTS | |
### | |
## | |
# Run from /usr/local | |
## | |
cd /usr/local | |
## | |
# Update and install deps | |
## | |
sudo apt-get update | |
sudo apt-get install autoconf pkg-config libtool libssl-dev libgoogle-perftools-dev make -y | |
## | |
# Install Curl (https://weave.googlesource.com/weave/libiota/+/master/docs/UPDATING_CURL.md) | |
## | |
sudo wget https://curl.haxx.se/download/curl-7.53.1.tar.gz | |
sudo tar -xvzf curl-7.53.1.tar.gz | |
cd /usr/local/curl-7.53.1 | |
sudo ./buildconf | |
sudo ./configure --prefix=/usr/local/curl-7.53.1 --disable-shared --disable-ldap --disable-ldaps --without-libidn --without-librtmp | |
sudo make | |
sudo make install | |
## | |
# Make sure to follow: https://weave.googlesource.com/weave/libiota/+/master/docs/API_KEYS.md | |
## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment