![]() ![]() QEMU supports builds in this directory (not recommended) or Note that when building QEMU from GIT, 'make' will attempt to checkout various GIT submodules. The resulting directory qemu is your QEMU root directory. Several versions or maybe even contribute to the code, you will need a localĬopy of the QEMU code repository which is managed using git. If you want the latest code, follow the development of the code, work with The command lines from this section are tested on openSUSE Tumbleweed 32-bit fresh installation on an Intel host on March 14th, 2020. Some additional debugging tools may be installed using: If one wants to build QEMU using clang, the following line must be run as well: Sudo zypper install git-core gcc-c++ make qemu glib2-devel libpixman-1-0-devel The following command line will provide conditions for building QEMU using its default compiler gcc: This section refers to SUSE Linux Enterprise, openSUSE Leap, openSUSE Tumbleweed, Gecko and other SUSE-based Linux distributions. Libuuid-devel pulseaudio-libs-devel curl-devel libssh-devel \ Librdmacm-devel libibverbs-devel cyrus-sasl-devel libpng-devel \ Libseccomp-devel nettle-devel libattr-devel libjpeg-devel \īrlapi-devel libgcrypt-devel lzo-devel snappy-devel \ Gtk3-devel libsdl2-devel vte291-devel ncurses-devel \ ![]() Sudo yum install libaio-devel libcap-ng-devel libiscsi-devel capstone-devel \ Sudo apt-get install libnfs-dev libiscsi-devįor Red Hat Enterprise Linux or CentOS some of the additional recommended packages can be installed like this: Newer versions of Debian / Ubuntu might also try these additional packages: Sudo apt-get install valgrind xfslibs-dev Sudo apt-get install libvde-dev libvdeplug-dev libvte-2.91-dev libxen-dev liblzo2-dev Sudo apt-get install libsasl2-dev libsdl2-dev libseccomp-dev libsnappy-dev libssh-dev Sudo apt-get install librbd-dev librdmacm-dev Sudo apt-get install libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev Sudo apt-get install libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev Sudo apt-get install libaio-dev libbluetooth-dev libcapstone-dev libbrlapi-dev libbz2-dev Most of the recommended additional packages for maximum code coverage can be installed like this: When running configure, you should get many lines with "yes" and only a few with "no".įor Ubuntu (and maybe other Debian based distributions), For maximum code coverage, as many QEMU features as possible should be enabled. The above list is far from being complete. libcapstone-dev (capstone-devel), for disassembling CPU instructions.libvte-dev (vte291-devel), for access to QEMU monitor and serial/console devices via the GTK interface.libgtk-3-dev (gtk3-devel), for a simple UI instead of VNC.libsdl2-dev (libsdl2-devel), needed for the SDL based graphical user interface.Package names are for Debian (Red Hat/Fedora in parentheses). Yum install git glib2-devel libfdt-devel pixman-devel zlib-devel bzip2 ninja-build python3 Sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-buildįor Red Hat Enterprise Linux 8 or CentOS 8 all required additional packages can be installed like this: glib2.0-dev (9 MiB), this automatically includes zlib1g-devįor Ubuntu LTS (and maybe other Debian based distributions),Īll required additional packages can be installed like this:.So you have to install some additional packages before you can build QEMU.įedora Linux / Debian GNU Linux / Ubuntu Linux / Linux Mint distributionsįedora, Debian and Debian based or similar distributions normally includeĬompiler and compilation tools (gcc, make. The default installation of most distributions will not include everything, Usually they also include all packages which are needed to compile QEMU for Linux. Most Linux distributions already provide binary packages for QEMU (or KVM). Most of the following instructions are valid for both variants. Therefore it is the platform which gets most support.īoth 32 and 64 bit Linux hosts are supported. This documentation is work in progress - more information needs to be added for different Linux distributions. 1.1.1.2 Recommended additional packages.1.1.1 Fedora Linux / Debian GNU Linux / Ubuntu Linux / Linux Mint distributions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |