How To Install libvirt-daemon-driver-qemu on Ubuntu 20.04

In this tutorial we learn how to install libvirt-daemon-driver-qemu on Ubuntu 20.04. libvirt-daemon-driver-qemu is Virtualization daemon QEMU connection driver Virtualization daemon QEMU connection driver Virtualization daemon QEMU connection driver

Introduction

In this tutorial we learn how to install libvirt-daemon-driver-qemu on Ubuntu 20.04.

What is libvirt-daemon-driver-qemu

libvirt-daemon-driver-qemu is:

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 libvirtd connection driver for QEMU.

Package: libvirt-daemon-driver-qemu Architecture: amd64 Version: 6.0.0-0ubuntu8.3 Priority: optional Section: admin Source: libvirt Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Libvirt Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1932 Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.3.1), libglib2.0-0 (>= 2.43.2), libgnutls30 (>= 3.6.12), libselinux1 (>= 2.0.82), libvirt0 (>= 6.0.0-0ubuntu8.3), libxml2 (>= 2.9.2+really2.9.1+dfsg1-0.2), libvirt-daemon (= 6.0.0-0ubuntu8.3) Breaks: libvirt-daemon (« 5.6.0-3~) Replaces: libvirt-daemon (« 5.6.0-3~) Filename: pool/main/libv/libvirt/libvirt-daemon-driver-qemu_6.0.0-0ubuntu8.3_amd64.deb Size: 605240 MD5sum: 2c6dd2ab28e52ad106b859a0c20c2f45 SHA1: d14e9cc3cf5cab7546e8c9632cfa7c3be7e287ff SHA256: 2014979ca6faebef417b09cd352e167124290144acd3f0e6d3ae276005cba64e SHA512: c22941763723b96bdaab71f0c55ce3a7084fd15ccda6f353970e0bd722e600c5a0cd4c586e31b34071ae5dbb6434c2a62dcd3f34f440676eedd4a2f0c86c4075 Homepage: https://libvirt.org/ Description-en: Virtualization daemon QEMU connection driver 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 libvirtd connection driver for QEMU.

Package: libvirt-daemon-driver-qemu Architecture: amd64 Version: 6.0.0-0ubuntu8 Priority: optional Section: admin Source: libvirt Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Libvirt Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1932 Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.3.1), libglib2.0-0 (>= 2.43.2), libgnutls30 (>= 3.6.12), libselinux1 (>= 2.0.82), libvirt0 (>= 6.0.0-0ubuntu8), libxml2 (>= 2.9.2+really2.9.1+dfsg1-0.2), libvirt-daemon (= 6.0.0-0ubuntu8) Breaks: libvirt-daemon (« 5.6.0-3~) Replaces: libvirt-daemon (« 5.6.0-3~) Filename: pool/main/libv/libvirt/libvirt-daemon-driver-qemu_6.0.0-0ubuntu8_amd64.deb Size: 608092 MD5sum: 26c76f65c6697b3ed4a88b326ceb0a93 SHA1: a2eb7e96acfa9d724f36c436331ecdbea656f7b6 SHA256: fae8e327c8af87158c2624d554fb1668594c5dfa4e18137c0bf13590e1c2cb5d Homepage: https://libvirt.org/ Description-en: Virtualization daemon QEMU connection driver 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 libvirtd connection driver for QEMU.

There are three methods to install libvirt-daemon-driver-qemu on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvirt-daemon-driver-qemu Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libvirt-daemon-driver-qemu using apt-get by running the following command:

sudo apt-get -y install libvirt-daemon-driver-qemu

Install libvirt-daemon-driver-qemu Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvirt-daemon-driver-qemu using apt by running the following command:

sudo apt -y install libvirt-daemon-driver-qemu

Install libvirt-daemon-driver-qemu Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libvirt-daemon-driver-qemu using aptitude by running the following command:

sudo aptitude -y install libvirt-daemon-driver-qemu

How To Uninstall libvirt-daemon-driver-qemu on Ubuntu 20.04

To uninstall only the libvirt-daemon-driver-qemu package we can use the following command:

sudo apt-get remove libvirt-daemon-driver-qemu

Uninstall libvirt-daemon-driver-qemu And Its Dependencies

To uninstall libvirt-daemon-driver-qemu and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libvirt-daemon-driver-qemu

Remove libvirt-daemon-driver-qemu Configurations and Data

To remove libvirt-daemon-driver-qemu configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libvirt-daemon-driver-qemu

Remove libvirt-daemon-driver-qemu configuration, data, and all of its dependencies

We can use the following command to remove libvirt-daemon-driver-qemu configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvirt-daemon-driver-qemu

References

Summary

In this tutorial we learn how to install libvirt-daemon-driver-qemu package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.