How To Install libvirt-daemon-system-systemd on Ubuntu 20.04

In this tutorial we learn how to install libvirt-daemon-system-systemd on Ubuntu 20.04. libvirt-daemon-system-systemd is Libvirt daemon configuration files (systemd) Libvirt daemon configuration files (systemd) Libvirt daemon configuration files (systemd)

Introduction

In this tutorial we learn how to install libvirt-daemon-system-systemd on Ubuntu 20.04.

What is libvirt-daemon-system-systemd

libvirt-daemon-system-systemd 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 dependencies to make libvirt work with systemd. (this is the default). This package is useless without the libvirt-daemon-system package installed.

Package: libvirt-daemon-system-systemd 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: 133 Depends: systemd-container, systemd-sysv Conflicts: libvirt-daemon-system-sysv Filename: pool/main/libv/libvirt/libvirt-daemon-system-systemd_6.0.0-0ubuntu8.3_amd64.deb Size: 8688 MD5sum: 2c506aafc8de872e8ab7717a3220fd13 SHA1: 10351bc5c227a4c59526fbdc597c754cdab5f2fb SHA256: c447a66efb18526ac6dc42172cf0bede4b9148e7ebe58cfb460b2825790999a1 SHA512: 96e80eab81466958bf8f4eaeb7ac95b7f599d06ef49d5172fd58f684ffe7f6f26ddfde48266569c9518ba801694f747e7fe991b0e6c409c56341f1b3bcc87276 Homepage: https://libvirt.org/ Description-en: Libvirt daemon configuration files (systemd) 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 dependencies to make libvirt work with systemd. (this is the default). This package is useless without the libvirt-daemon-system package installed.

Package: libvirt-daemon-system-systemd 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: 133 Depends: systemd-container, systemd-sysv Conflicts: libvirt-daemon-system-sysv Filename: pool/main/libv/libvirt/libvirt-daemon-system-systemd_6.0.0-0ubuntu8_amd64.deb Size: 12568 MD5sum: f0a4cfcba3b9d4e45ff0f044eaaca4a5 SHA1: f4ab2057cd0d4e23e70e1b55a9cb50e5136f2b6c SHA256: e64bdba5a4422c84c5279d2bfcb948660bf62d9a513fa3da1ac9e00db2dad861 Homepage: https://libvirt.org/ Description-en: Libvirt daemon configuration files (systemd) 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 dependencies to make libvirt work with systemd. (this is the default). This package is useless without the libvirt-daemon-system package installed.

There are three methods to install libvirt-daemon-system-systemd 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-system-systemd 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-system-systemd using apt-get by running the following command:

sudo apt-get -y install libvirt-daemon-system-systemd

Install libvirt-daemon-system-systemd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvirt-daemon-system-systemd

Install libvirt-daemon-system-systemd 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-system-systemd using aptitude by running the following command:

sudo aptitude -y install libvirt-daemon-system-systemd

How To Uninstall libvirt-daemon-system-systemd on Ubuntu 20.04

To uninstall only the libvirt-daemon-system-systemd package we can use the following command:

sudo apt-get remove libvirt-daemon-system-systemd

Uninstall libvirt-daemon-system-systemd And Its Dependencies

To uninstall libvirt-daemon-system-systemd 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-system-systemd

Remove libvirt-daemon-system-systemd Configurations and Data

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

sudo apt-get -y purge libvirt-daemon-system-systemd

Remove libvirt-daemon-system-systemd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvirt-daemon-system-systemd

References

Summary

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