How to Uninstall or Install hyperv-daemons on Ubuntu 22.04

Updated: September 6, 2022

Suite of daemons for Linux guests running on Hyper-V, consisting of hv_fcopy_daemon, hv_kvp_daemon and hv_vss_daemon. I will show you how to install hyperv-daemons on Ubuntu 22.04 in this guide.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install hyperv-daemons on Ubuntu 22.04

Install hyperv-daemons Ubuntu 22.04

hyperv-daemons is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install hyperv-daemons using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install hyperv-daemons on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install hyperv-daemons Ubuntu by executing this command in the terminal.

sudo apt-get -y install hyperv-daemons

Install hyperv-daemons using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing aptitude, you can now install hyperv-daemons, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install hyperv-daemons Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install hyperv-daemons

Uninstall hyperv-daemons on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just hyperv-daemons.

If you installed hyperv-daemons using APT or Aptitude, you could uninstall hyperv-daemons on Ubuntu by executing this command

sudo apt remove --auto-remove hyperv-daemons

To uninstall hyperv-daemons and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge hyperv-daemons

Conclusion

In this tutorial, I showed you ways to install hyperv-daemons on Ubuntu 22.04 and some ways to uninstall hyperv-daemons too. Please contact me if you require any assistance. I’d be delighted to respond.