Install Virsh On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Virsh On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

virsh

libvirt client package

Install virsh

  • Debian apt-get install libvirt-bin Click to copy
  • Ubuntu apt-get install libvirt-bin Click to copy
  • Alpine OS apk add libvirt Click to copy
  • Arch Linux pacman -S libvirt Click to copy
  • Kali Linux apt-get install libvirt-clients Click to copy
  • CentOS yum install libvirt-client Click to copy
  • Fedora dnf install libvirt-client Click to copy
  • Raspbian apt-get install libvirt0-dbg Click to copy
  • macOS brew install libvirt Click to copy

libvirt-client

libvirt client package

libvirt-clients

programs for the libvirt library

Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. This package contains the libvirt shell virsh and other client binaries.

libvirt0-dbg

library for interfacing with different virtualization systems

Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. This package contains the debugging symbols.

libvirt

Libvirt is a C toolkit to interact with the virtualization

capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support.

libvirt-bin

programs for the libvirt library

Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. This is a transitional package. You can safely remove it.

Installation of latest virsh command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. 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.