Import first try of a documentation
[frida/doc.git] / source / installing.rst
1 Installation
2 ------------
3
4 These instructions have all been tested on Debian jessie systems
5 only. Patches and hints for other distributions are welcome!
6
7 Build requirements
8 ==================
9
10 Frida requires the following packages for building
11
12 * LLVM 3.5
13 * Qt >= 5.1
14 * guile-2.0
15 * log4cxx
16 * quazip
17 * gtest
18 * gmock
19 * cmake
20
21 On a debian (jessie) system this works with the following command:
22
23 .. code-block:: bash
24
25 apt-get install libquazip-qt5-dev liblog4cxx10-dev qtbase5-dev guile-2.0-dev google-mock cmake g++ llvm-3.5-dev
26
27 Note that version 3.5 of LLVM is required.
28
29 Building
30 ========
31
32 I would recommend an out-of tree build which works as follows
33
34 .. code-block:: bash
35
36 mkdir build
37 cd build
38 cmake ..
39 make -j
40
41 Which should generate you a frida binary. If you don't want to install
42 gmoch/gtest you need to remove the stanzas from CMakeList and not run
43 the tests.