Project

General

Profile

Actions

Installation » History » Revision 35

« Previous | Revision 35/36 (diff) | Next »
Sergey Smolov, 08/31/2022 06:13 PM


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++, libcapstone3, libcapstone-dev, libfdt-dev, libglib2.0-dev (version 2.48 or higher), libjpeg62-dev, libpixman-1-dev, libslirp0, libslirp-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:

or

$ sudo apt install bison flex g++ libcapstone3 libcapstone-dev libfdt-dev \
                   libglib2.0-dev libjpeg62-dev libpixman-1-dev libslirp0 \
                   libslirp-dev ninja-build pkg-config python3 zlib1g-dev \
                   openjdk-11-jdk

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

Install from source archive

  1. Get source archive.
  2. Unpack the archive to the directory you want.
  3. Enter the directory and do the following commands:
    $ mkdir build
    $ cd build
    $ ../configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu
    $ make
    $ sudo make install
    

    or
    $ ./gradlew assemble
    $ sudo make install
    

Install from Git repository

  1. Clone the project Git repository with the following command:
    $ git clone --recursive https://forge.ispras.ru/git/qemu4v.git
    
  2. The command above creates 'qemu4v' directory. Go to the 'qemu4v' directory and switch to the branch that contains all the project enhancements:
    $ cd qemuv4
    $ git checkout -b qemu4v.master origin/qemu4v.master
    
  3. Do the following commands:
    $ mkdir build
    $ cd build
    $ ../configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,ppc-softmmu,ppc64-softmmu,i386-softmmu
    $ make
    $ sudo make install
    

    or
    $ ./gradlew assemble
    $ sudo make install
    

Updated by Sergey Smolov about 2 years ago · 36 revisions