Installation » History » Revision 16
Revision 15 (Sergey Smolov, 09/24/2018 05:18 PM) → Revision 16/36 (Sergey Smolov, 09/28/2018 10:54 AM)
h1. 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++*, *glib-2.40*, *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. h2. Install from source archive # Get source tarball from "here":http://forge.ispras.ru/projects/qemu4v/files. # Unpack the archive to the directory you want. # Enter the directory and do the following commands: <pre> $ ./configure ---target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,i386-softmmu --disable-capstone $ make $ sudo make install </pre> or <pre> $ ./gradlew assemble </pre> 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. h2. Install from Git repository # Clone the project Git repository with the following command: <pre> $ git clone https://forge.ispras.ru/git/qemu4v.git </pre> # The command above creates 'qemu4v' directory. Enter the 'qemu4v' directory and switch to the branch that contains all the project enhancements: <pre> $ cd qemuv4 $ git checkout -b qemu4v.master origin/qemu4v.master </pre> # Do the following commands: <pre> $ ./configure --target-list=aarch64-softmmu,riscv64-softmmu,mips-softmmu,mips64-softmmu,i386-softmmu --disable-capstone $ make $ sudo make install </pre> or <pre> $ ./gradlew assemble </pre> 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.