Project

General

Profile

Installation » History » Version 16

Sergey Smolov, 09/28/2018 10:54 AM

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 15 Sergey Smolov
or
20
<pre>
21
$ ./gradlew assemble
22
</pre>
23 16 Sergey Smolov
In the last case, please note that _gradlew_ script does not run 'sudo make install' command, so if you want to complete the installation, run this command by hands.
24 1 Sergey Smolov
25
h2. Install from Git repository
26
27 3 Sergey Smolov
# Clone the project Git repository with the following command:
28 1 Sergey Smolov
<pre>
29 9 Sergey Smolov
$ git clone https://forge.ispras.ru/git/qemu4v.git
30 1 Sergey Smolov
</pre>
31 10 Sergey Smolov
# The command above creates 'qemu4v' directory. Enter the 'qemu4v' directory and switch to the branch that contains all the project enhancements:
32 1 Sergey Smolov
<pre>
33 9 Sergey Smolov
$ cd qemuv4
34
$ git checkout -b qemu4v.master origin/qemu4v.master
35 1 Sergey Smolov
</pre>
36
# Do the following commands:
37
<pre>
38 9 Sergey Smolov
$ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,i386-softmmu --disable-capstone
39
$ make
40
$ sudo make install
41 1 Sergey Smolov
</pre>
42 8 Sergey Smolov
or
43
<pre>
44 9 Sergey Smolov
$ ./gradlew assemble
45 8 Sergey Smolov
</pre>
46 16 Sergey Smolov
In the last case, please note that _gradlew_ script does not run 'sudo make install' command, so if you want to complete the installation, run this command by hands.