User Tools

Site Tools


os

OS SUPPORT

List of supported OperatingSystems and efforts to get IoTivity supported by any OS (build from sources or binaries) on any hardware.

DEBIAN

Status: community supported

git clone http://github.com/tizenteam/iotivity \
        -b sandbox/pcoval/on/latest/debian
cd iotivity && ./debian/rules && sudo debi ../*.deb

Integration: WIP

Note on older debian based system. boost is outdated, so you need to install it manually.

Debian 7

System must be prepared with supported boost version:

apt-get install devscripts sudo
apt-get install zlib1g-dev libbz2-dev libicu-dev mpi-default-dev \
  bison flex docbook-to-man help2man xsltproc doxygen \
  python-all-dev python3 python3-all-dev
dget http://httpredir.debian.org/debian/pool/main/b/boost1.55/boost1.55_1.55.0+dfsg-3.dsc
dpkg-source  -x *.dsc
cd boost* ; ./debian/rules binary ; dpkg -i ../*.deb
apt-get install \
  scons autoconf automake autotools-dev libtool valgrind \
  libsqlite3-dev \
  libglib2.0-dev uuid-dev libcurl4-gnutls-dev \

Then build sources using scons (using gcc (Debian 4.7.2-5) 4.7.2)

Raspbian

Raspbian could be supported, I would try on jessie base , here some hints, please report if it work

Dump to card, update to jessie :

d=/tmp/tmp-root.tmp/mnt/dev/mmcblk0p1
cat<<EOT | sudo tee $d/installer-config.txt
packages=vim,aptitude,screen,etckeeper
release=jessie
EOT

boot it

Installation takes well under 15 minutes with fast Internet from power on to sshd running

Then rebuild using debuild this tree :

Check hardware page for Raspbian / raspberrypi

UBUNTU

If needed you can also build from a docker container

Ubuntu 17.04

Instructions are like Ubuntu 16.04 (LTS)

However:

  • gcc : 6.3.0-12ubuntu2

gcc6 is known to currently have some problems with parts of the codebase. Until these are cleaned up, check Jira and/or file new issues.

Ubuntu 16.04 (LTS)

sudo apt-get install \
  build-essential git-core scons ssh unzip sudo valgrind\
  doxygen libtool autoconf pkg-config \
  libboost-all-dev libsqlite3-dev \
  uuid-dev libglib2.0-dev libcurl4-gnutls-dev \
  libbz2-dev 

Ubuntu 14.04 (LTS)

Supported at :

cat /etc/os-release # VERSION="14.04.4 LTS, Trusty Tahr"
sudo apt-get install libboost1.55-all-dev

Ubuntu 12.04 (LTS)

sudo apt-get install \
  build-essential git-core scons ssh unzip sudo valgrind\
  doxygen libtool autoconf pkg-config \
  uuid-dev libglib2.0-dev libsqlite3-dev \
  libbz2-dev libcurl4-gnutls-dev

apt-get remove libboost1.46-dev libboost1.48-dev

cat<<EOF | sudo tee /etc/apt/sources.list.d/boost.list
deb http://ppa.launchpad.net/boost-latest/ppa/ubuntu precise main 
deb-src http://ppa.launchpad.net/boost-latest/ppa/ubuntu precise main 
EOF

sudo apt-get update ; sudo apt-get install libboost1.55-all-dev 

cat /etc/os-release 
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu

gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Then clone sources and build using scons

MISC

community deb package :

For version 1.1.x : In the build process will ask you to clone tinycbor, use the specific version indicated by the following command.

There is a docker container for Ubuntu and iotivity-1.2-rel:

It contains a link to the github repo where the Dockerfile with the complete working instructions is hosted:

UBUNTU-CORE

LINUX MINT

cat /etc/os-release

NAME="Linux Mint"
VERSION="18 (Sarah)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18"
VERSION_ID="18"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
UBUNTU_CODENAME=xenial

Linux Mint 18 is derived from Ubuntu 16.04. tbw

YOCTO and derived (LFAGL, GENIVI)

Check dedicated page :

TIZEN

Check dedicated page :

OpenWrt

IoTivity is integrated into OpenWrt trunk and will be in the next DD release.

Package Source:

Install IoTivity in OpenWrt trunk:

opkg install iotivity-example-garage
opkg install iotivity-oic-middle

LINUX/ FEDORA

iotivity can be easily built for Fedora 24.

There is a docker container for Fedora 24 and iotivity-1.2-rel:

It contains a link to the github repo where the Dockerfile with the complete working instructions is hosted:

Also you can try this community repo :

Latest:

dnf install \
  git scons findutils pkgconfig \
  bzip2 unzip autoconf automake libtool git gcc-c++\
  boost-devel sqlite-devel \
  libuuid-devel glib2-devel libcurl-devel \
  wget 

LINUX/ ARCH

 pacman -Syu
 pacman -Ss iotivity # soon?
 pacman -S sudo 
 sudo pacman -S \
   git scons \
   gcc patch automake make libtool autoconf pkg-config \
   boost sqlite \
   unzip sudo valgrind doxygen grep sed file # python

ANDROID

IOS / DARWIN / MACOSX

WINDOWS

Check dedicated page :

RIOT OS

OTHER OS : TIZEN RT / RTOS / CONTIKI / ZEPHYR / NUCLEUS ...

os.txt · Last modified: 2017/05/20 18:03 by Phil Coval