forked from mit-dci/CryptoKernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
installdeps.sh
executable file
·45 lines (38 loc) · 1016 Bytes
/
installdeps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
sudo apt-get update
sudo apt-get install -y git build-essential libsfml-dev libleveldb-dev libargtable2-dev libreadline-dev libcurl4-gnutls-dev liblua5.3-dev cmake libhiredis-dev
cd /tmp
wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz
tar -xvzf openssl-1.1.0f.tar.gz
cd openssl-1.1.0f
./config
make
sudo make install
sudo ldconfig
cd ../
wget http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz
tar -xvzf libmicrohttpd-latest.tar.gz
cd libmicrohttpd*
./configure
make
sudo make install
cd ../
wget https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz
tar -xzvf 1.8.4.tar.gz
cd jsoncpp*
cmake .
make
sudo make install
cd ../
wget https://github.com/cinemast/libjson-rpc-cpp/archive/v1.1.0.tar.gz
tar -xvzf v1.1.0.tar.gz
cd libjson-rpc-cpp*
cmake .
make
sudo make install
cd ../
git clone https://github.com/metalicjames/selene.git
sudo cp -r selene/include/* /usr/local/include
git clone https://github.com/metalicjames/lua-lz4.git
cd lua-lz4
make
sudo cp lz4.so /usr/lib