Project

General

Profile

Actions

Installation » History » Revision 20

« Previous | Revision 20/36 (diff) | Next »
Sergey Smolov, 11/19/2019 01:53 PM


Installation

The most preferable OS for QEMU4V installation is Linux.
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).
To compile QEMU4V with the help of gradlew script the openjdk-8-jdk package should be installed too.

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

Install from source archive

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

    or
    $ ./gradlew assemble
    

    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.

Install from Git repository

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

    or
    $ ./gradlew assemble
    

    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.

Updated by Sergey Smolov about 5 years ago · 36 revisions