-
Notifications
You must be signed in to change notification settings - Fork 30
/
INSTALL.txt
47 lines (39 loc) · 978 Bytes
/
INSTALL.txt
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
#mac: brew install automake libtool wget
#ec2 aws ami: yum install automake libtool
wget https://github.com/VirusTotal/yara/archive/v3.5.0.tar.gz
gunzip v3.5.0.tar.gz
tar -xvf v3.5.0.tar
cd yara-3.5.0
chmod 777 ./build.sh
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
LDFLAGS=-L/usr/local/opt/openssl/lib
export LDFLAGS
CPPFLAGS=-I/usr/local/opt/openssl/include
export CPPFLAGS
./build.sh
sudo make install
cd ..
wget http://zlib.net/zlib-1.2.8.tar.gz
gunzip zlib-1.2.8.tar.gz
tar -xvf zlib-1.2.8.tar
cd zlib-1.2.8
./configure
make
sudo make install
cd ..
wget https://nih.at/libzip/libzip-1.1.3.tar.gz
gunzip libzip-1.1.3.tar.gz
tar -xvf libzip-1.1.3.tar
cd libzip-1.1.3
./configure
make
sudo make install
sudo ln -vs /usr/local/lib/libzip/include/zipconf.h /usr/local/include
cd ..
wget https://github.com/tylabs/quicksand_lite/archive/v1.01.001.tar.gz
gunzip v1.01.001.tar.gz
tar -xvf v1.01.001.tar
cd quicksand_lite-1.01.001
chmod 777 ./build.sh
./build.sh