Project

General

Profile

Installation » History » Version 10

Sergey Smolov, 09/11/2018 05:22 PM

1 1 Sergey Smolov
h1. Installation
2
3 3 Sergey Smolov
The most preferable OS for QEMU4V installation is *Linux*.
4 7 Sergey Smolov
To compile the QEMU4V the following Linux packages should be installed first: *bison*, *flex*, *glib-2.40*, *pixman-dev*, *pkg-config*, *python*, *zlib1g-dev*.
5 1 Sergey Smolov
6 3 Sergey Smolov
There are two ways to install QEMU4V: from source tarball or from Git repository.
7 1 Sergey Smolov
8
h2. Install from source archive
9
10
# Get source tarball from "here":http://forge.ispras.ru/projects/qemu4v/files.
11
# Unpack the archive to the directory you want.
12
# Enter the directory and do the following commands:
13
<pre>
14 9 Sergey Smolov
$ ./configure ---target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,i386-softmmu --disable-capstone
15
$ make
16
$ sudo make install
17 1 Sergey Smolov
</pre>
18
19
h2. Install from Git repository
20
21 3 Sergey Smolov
# Clone the project Git repository with the following command:
22 1 Sergey Smolov
<pre>
23 9 Sergey Smolov
$ git clone https://forge.ispras.ru/git/qemu4v.git
24 1 Sergey Smolov
</pre>
25 10 Sergey Smolov
# The command above creates 'qemu4v' directory. Enter the 'qemu4v' directory and switch to the branch that contains all the project enhancements:
26 1 Sergey Smolov
<pre>
27 9 Sergey Smolov
$ cd qemuv4
28
$ git checkout -b qemu4v.master origin/qemu4v.master
29 1 Sergey Smolov
</pre>
30
# Do the following commands:
31
<pre>
32 9 Sergey Smolov
$ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,i386-softmmu --disable-capstone
33
$ make
34
$ sudo make install
35 1 Sergey Smolov
</pre>
36 8 Sergey Smolov
or
37
<pre>
38 9 Sergey Smolov
$ ./gradlew assemble
39 8 Sergey Smolov
</pre>