-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_tools.txt
More file actions
executable file
·55 lines (45 loc) · 1.93 KB
/
install_tools.txt
File metadata and controls
executable file
·55 lines (45 loc) · 1.93 KB
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
46
47
48
49
50
51
52
53
54
55
///////////////////////////////////////////////////////////////////////////////
////install UCSB-ABC
///////////////////////////////////////////////////////////////////////////////
//recommand following the step by step setup procedure described on its website.
https://github.com/vlab-cs-ucsb/ABC
///////////////////////////////////////////////////////////////////////////////
////Install Trau
///////////////////////////////////////////////////////////////////////////////
//install openfst
//need g++-4.7 up
//install antlr
cd /usr/local/lib
sudo apt-get install curl
sudo curl -0 http://www.antlr.org/download/antlr-4.7.1-complete.jar
export CLASSPATH=".
//... following the instruction
//install antlr cpp runtime
wget http://www.antlr.org/download/antlr4-cpp-runtime-4.7.1-source.zip
unzip ...
mkdir build
mkdir run
cd build
sudo apt-get install cmake
sudo apt-get install default-jdk default-jre
sudo apt-get install uuid uuid-dev
cmake .. -DANTLR_JAR_LOCATION=/usr/local/lib/antlr-4.7.1-complete.jar -DWITH_DEMO=True
//need g++-5 up for compile
echo "/usr/local/lib" >> /etc/ld.so.conf
//or use "sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf""
sudo ldconfig
//after apply the above command, the library can be linked
//install customed z3-4.4.1.0 included in TRAU
//install latest z3
//compile Trau
//update build/makefile, src/subdir.mk, src/antlrParser/subdir.mk with customed Z3 path
make
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
////set ubuntu 16 shared folder
/////////////////////////////////////////////////////////////////////////////
//install virtualbox-guestadditions
//add permission to specific "user"
sudo usermod -a -G vboxsf "user"
//or this one may also work as an alternative to add permission? >sudo adduser USERNAME vboxsf
//ic3ia need install of