QEMU/Installation: Difference between revisions

From Computernewb Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[QEMU]] can be installed in many ways. The most common method is probably installing a precompiled binary, since it is a much simpler method of installation when compared to compiling it from the source code.
[[QEMU]] can be installed in many ways. The most common method is installing an already compiled binary, since it is a much simpler method of installation when compared to compiling it from the source code.


==Linux==
==Linux==
Pretty much all major Linux distributions contains QEMU in their respective repositories. Below is a list of example commands for various popular operating systems.
Pretty much every major Linux distributions has QEMU in their repositories. Below are a list of install commands for various popular distros:


{| class="wikitable"
{| class="wikitable"
Line 23: Line 23:
| openSUSE
| openSUSE
| <code>zypper install qemu</code>
| <code>zypper install qemu</code>
|-
| Slackware
| <code>slpkg -s sbo qemu</code>
|-
|-
|}
|}


==Windows==
==Windows==
The best place to grab precompiled Windows binaries is on [https://qemu.weilnetz.de/ Weilnetz]'s page, which are officially linked to on QEMU's official website. The site contains builds of the latest QEMU for 32-bit and 64-bit versions of Windows, and is confirmed to be working and up to date.
The best place to grab Windows binaries is on [https://qemu.weilnetz.de/ Weilnetz]'s page, which are officially linked to on QEMU's official website. The site contains builds of the latest QEMU for 64-bit versions of Windows (some older builds of QEMU for 32-bit Windows are also available). It is confirmed to be working and up to date.


Alternatively, there is [http://lassauge.free.fr/qemu/QEMU_on_Windows.html Lassauge's] page, but it requires Cygwin to be installed and only provides 64-bit builds.
Alternatively, there is also [http://lassauge.free.fr/qemu/QEMU_on_Windows.html Lassauge's] page, but it requires Cygwin to be installed and is severely out of date.


==Mac OS==
==macOS==
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 44: Line 47:
|}
|}


Of course the easiest way to get QEMU on Mac OS is by installing it with [https://brew.sh/ Homebrew], then by typing <code>brew install qemu</code>. You can also install it through MacPorts.
The easiest way to get QEMU on macOS is by installing it with [https://brew.sh/ Homebrew]. It can also be installed through [https://www.macports.org/ MacPorts].


Alternatively, you can download 2.10.1 binaries from [http://www.mediafire.com/file/jvy54hdzjixzxbb/QEMU_2.10.1.zip this] page, which work on 64-bit Macs and Mac OS 10.6 or higher. You can also download version 1.6.2 from [http://www.mediafire.com/file/5pk2j3a7d82app6/QEMU_1.6.2_Mac_OS_10.4_G5.zip here], which works on a PowerPC Mac. It requires Mac OS 10.4 or higher and at least a PowerPC G5 CPU.
For older systems, you can download 2.10.1 binaries from [http://www.mediafire.com/file/jvy54hdzjixzxbb/QEMU_2.10.1.zip this] page, which works on 64-bit Macs running Mac OS 10.6 or higher. For older PowerPC macs, a port of 1.6.2 can be downloaded from [http://www.mediafire.com/file/5pk2j3a7d82app6/QEMU_1.6.2_Mac_OS_10.4_G5.zip here]. It requires Mac OS 10.4 or higher, and at least a PowerPC G5 CPU.


==BSD==
==BSD==

Latest revision as of 03:21, 14 April 2024

QEMU can be installed in many ways. The most common method is installing an already compiled binary, since it is a much simpler method of installation when compared to compiling it from the source code.

Linux

Pretty much every major Linux distributions has QEMU in their repositories. Below are a list of install commands for various popular distros:

Distribution Command
Arch Linux pacman -S qemu
CentOS/Fedora dnf install -y qemu
Debian/Ubuntu apt install -y qemu (Ubuntu 14.04+)
apt-get install -y qemu (Ubuntu 12.04-)
Gentoo emerge -av app-emulation/qemu
openSUSE zypper install qemu
Slackware slpkg -s sbo qemu

Windows

The best place to grab Windows binaries is on Weilnetz's page, which are officially linked to on QEMU's official website. The site contains builds of the latest QEMU for 64-bit versions of Windows (some older builds of QEMU for 32-bit Windows are also available). It is confirmed to be working and up to date.

Alternatively, there is also Lassauge's page, but it requires Cygwin to be installed and is severely out of date.

macOS

Distribution Command
Homebrew brew install qemu
MacPorts port install qemu

The easiest way to get QEMU on macOS is by installing it with Homebrew. It can also be installed through MacPorts.

For older systems, you can download 2.10.1 binaries from this page, which works on 64-bit Macs running Mac OS 10.6 or higher. For older PowerPC macs, a port of 1.6.2 can be downloaded from here. It requires Mac OS 10.4 or higher, and at least a PowerPC G5 CPU.

BSD

Distribution Command
FreeBSD pkg install qemu
OpenBSD pkg_add -i qemu

QEMU can also be installed and compiled on most BSD-based operating systems.

Compiling from source