Project

General

Profile

Installation » History » Version 14

Sergey Smolov, 09/21/2018 03:04 PM

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