Installation » History » Version 21
Sergey Smolov, 11/19/2019 02:04 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 | # 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 | 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 | 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 | 19 | Sergey Smolov | $ git submodule init |
36 | $ git submodule update --remote |
||
37 | 1 | Sergey Smolov | </pre> |
38 | # Do the following commands: |
||
39 | <pre> |
||
40 | 17 | Sergey Smolov | $ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu --disable-capstone |
41 | 9 | Sergey Smolov | $ make |
42 | $ sudo make install |
||
43 | 1 | Sergey Smolov | </pre> |
44 | 8 | Sergey Smolov | or |
45 | <pre> |
||
46 | 9 | Sergey Smolov | $ ./gradlew assemble |
47 | 8 | Sergey Smolov | </pre> |
48 | 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. |