Install Qemu-img On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Install Qemu-img On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

qemu-img

Tool for Quick Emulator Virtual HDD image creation and manipulation.

Maintainer: Debian QEMU Team



Section: otherosfs

Install qemu-img

  • Debian apt-get install qemu-utils Click to copy
  • Ubuntu apt-get install qemu-utils Click to copy
  • Arch Linux pacman -S qemu-img-2 Click to copy
  • Kali Linux apt-get install qemu-utils Click to copy
  • CentOS yum install qemu-img-2 Click to copy
  • Fedora dnf install qemu-img-2 Click to copy
  • Raspbian apt-get install qemu-utils Click to copy

Tool for Quick Emulator Virtual HDD image creation and manipulation.

How to use qemu-img?

Below are few example commands for qemu-img that you can use in the terminal.

Create disk image with a specific size (in gigabytes):
qemu-img create image_name.img gigabitesGClick to copy
Show information about a disk image:
qemu-img info image_name.imgClick to copy
Increase or decrease image size:
qemu-img resize image_name.img gigabitesGClick to copy
Dump the allocation state of every sector of the specified disk image:
qemu-img map image_name.imgClick to copy
Installation of latest qemu-img command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.