blob: 33763f8cef3d39cdb54107b87fb531dd82e26c89 [file] [log] [blame]
Tomas Cejka43380f12015-06-25 22:43:20 +02001#!/bin/bash
2
3if which apt-get >/dev/null 2>/dev/null; then
4sudo apt-get update -qq -y
5sudo apt-get install -qq -y git libjson-c-dev libapr1-dev libaprutil1-dev libxml2-dev apache2-dev pkg-config libtool cmake libtool cmake libxslt1-dev libcurl4-openssl-dev
6else
7sudo yum install -y git json-c-devel apr-devel apr-util-devel libxml2-devel httpd-devel pkg-config libtool cmake libxslt-devel curl-devel
8fi
9
10(
11wget -q https://red.libssh.org/attachments/download/107/libssh-0.6.4.tar.gz&&
12tar -xf libssh-0.6.4.tar.gz&&mkdir lssh&&cd lssh&&cmake ~/libssh-0.6.4&&sudo make install
13)
14
15(
16git clone git://github.com/cejkato2/libwebsockets lws&&mkdir lws/b&&cd lws/b&&cmake ..&&sudo make install
17)
18
19(
20git clone git://github.com/CESNET/libnetconf&&cd libnetconf&&./configure&&sudo make install
21)
22
23(
24git clone git://github.com/mbj4668/pyang&&cd pyang&&sudo python setup.py install
25)
26