Project

General

Profile

Installation » History » Version 24

Sergey Smolov, 11/25/2019 04:42 PM

1 1 Sergey Smolov
h1. Installation
2
3 3 Sergey Smolov
The most preferable OS for QEMU4V installation is *Linux*.
4 20 Sergey Smolov
To compile the QEMU4V the following Linux packages should be installed first: *bison*, *flex*, *g++*, *libglib2.0-dev*, *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 24 Sergey Smolov
# Get source "archive":http://forge.ispras.ru/projects/qemu4v/files.
12 1 Sergey Smolov
# Unpack the archive to the directory you want.
13
# Enter the directory and do the following commands:
14
<pre>
15 18 Sergey Smolov
$ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu --disable-capstone
16 9 Sergey Smolov
$ make
17
$ sudo make install
18 1 Sergey Smolov
</pre>
19 15 Sergey Smolov
or
20
<pre>
21
$ ./gradlew assemble
22 21 Sergey Smolov
$ sudo make install
23 16 Sergey Smolov
</pre>
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 23 Sergey Smolov
$ git clone --recursive https://forge.ispras.ru/git/qemu4v.git
30 1 Sergey Smolov
</pre>
31 23 Sergey Smolov
# The command above creates 'qemu4v' directory. Go to the 'qemu4v' directory and switch to the branch that contains all the project enhancements:
32 1 Sergey Smolov
<pre>
33 19 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 17 Sergey Smolov
$ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu --disable-capstone
39 9 Sergey Smolov
$ make
40
$ sudo make install
41 1 Sergey Smolov
</pre>
42 8 Sergey Smolov
or
43
<pre>
44 9 Sergey Smolov
$ ./gradlew assemble
45 22 Sergey Smolov
$ sudo make install
46 16 Sergey Smolov
</pre>