How To Install xe-guest-utilities on Ubuntu 18.04

In this tutorial we learn how to install xe-guest-utilities on Ubuntu 18.04. xe-guest-utilities is daemon for monitoring Xen Virtual machines

Introduction

In this tutorial we learn how to install xe-guest-utilities on Ubuntu 18.04.

What is xe-guest-utilities

xe-guest-utilities is:

xe-daemon for monitoring Virtual Machines on a Xen Hypervisor.

Writes distribution version information, disk and networking statistics to XenStore.

There are three methods to install xe-guest-utilities on Ubuntu 18.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 xe-guest-utilities Using apt-get

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

sudo apt-get update

After updating apt database, We can install xe-guest-utilities using apt-get by running the following command:

sudo apt-get -y install xe-guest-utilities

Install xe-guest-utilities Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xe-guest-utilities using apt by running the following command:

sudo apt -y install xe-guest-utilities

Install xe-guest-utilities 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 xe-guest-utilities using aptitude by running the following command:

sudo aptitude -y install xe-guest-utilities

How To Uninstall xe-guest-utilities on Ubuntu 18.04

To uninstall only the xe-guest-utilities package we can use the following command:

sudo apt-get remove xe-guest-utilities

Uninstall xe-guest-utilities And Its Dependencies

To uninstall xe-guest-utilities and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove xe-guest-utilities

Remove xe-guest-utilities Configurations and Data

To remove xe-guest-utilities configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xe-guest-utilities

Remove xe-guest-utilities configuration, data, and all of its dependencies

We can use the following command to remove xe-guest-utilities configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xe-guest-utilities

References

Summary

In this tutorial we learn how to install xe-guest-utilities package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.