Skip to content

Instantly share code, notes, and snippets.

@bobvanluijt
Last active March 30, 2017 01:57
Show Gist options
  • Save bobvanluijt/571fdadf60a22dd2f7eb8d04f53b2338 to your computer and use it in GitHub Desktop.
Save bobvanluijt/571fdadf60a22dd2f7eb8d04f53b2338 to your computer and use it in GitHub Desktop.
Android Things - device step I
#!/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