Project

General

Profile

Installation » History » Revision 32

Revision 31 (Sergey Smolov, 04/28/2020 04:20 PM) → Revision 32/36 (Sergey Smolov, 12/14/2020 05:44 PM)

h1. Installation 

 The most preferable OS for QEMU4V installation is *Linux*. All the package names are taken from Ubuntu repo and may differ in your distro. 
 To compile the QEMU4V the following Linux packages should be installed first: *bison*, *flex*, *g++*, *libglib2.0-dev* (_version 2.48 or higher_), *libjpeg62-dev*, *libpixman-1-dev*, *ninja-build*, *pkg-config*, *python3.5*, *zlib1g-dev*. 
 To compile QEMU4V with the help of _gradlew_ script the *openjdk-11-jdk* package should be installed too. 
 On Ubuntu-based OS these packages can be installed with the following command: 
 </code></pre> 
 or 
 <pre><code class="shell"> 
 $ sudo apt install bison flex g++ libglib2.0-dev libjpeg62-dev \ 
                    libpixman-1-dev pkg-config python3 zlib1g-dev openjdk-11-jdk 
 </code></pre> 

 There are two ways to install QEMU4V: from source tarball or from Git repository. 

 h2. Install from source archive 

 # Get source "archive":http://forge.ispras.ru/projects/qemu4v/files. 
 # Unpack the archive to the directory you want. 
 # Enter the directory and do the following commands: 
 <pre><code class="shell"> 
 $ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu --disable-capstone 
 $ make 
 $ sudo make install 
 </code></pre> 
 or 
 <pre><code class="shell"> 
 $ ./gradlew assemble 
 $ sudo make install 
 </code></pre> 

 h2. Install from Git repository 

 # Clone the project Git repository with the following command: 
 <pre><code class="shell"> 
 $ git clone --recursive https://forge.ispras.ru/git/qemu4v.git 
 </code></pre> 
 # The command above creates 'qemu4v' directory. Go to the 'qemu4v' directory and switch to the branch that contains all the project enhancements: 
 <pre><code class="shell"> 
 $ cd qemuv4 
 $ git checkout -b qemu4v.master origin/qemu4v.master 
 </code></pre> 
 # Do the following commands: 
 <pre><code class="shell"> 
 $ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu --disable-capstone 
 $ make 
 $ sudo make install 
 </code></pre> 
 or 
 <pre><code class="shell"> 
 $ ./gradlew assemble 
 $ sudo make install 
 </code></pre>