How To Install qemu-web-desktop on Debian 12

Learn how to install qemu-web-desktop on Debian 12 with this tutorial. qemu-web-desktop is Remote desktop service with virtual machines in a browser.

Introduction

In this tutorial we learn how to install qemu-web-desktop on Debian 12.

What is qemu-web-desktop

qemu-web-desktop is:

A remote desktop service that launches virtual machines and displays them in your browser. Place virtual machine files (ISO, QCOW2, VDI, VMDK…) into /var/lib/qemu-web-desktop/machines, add their name in the /etc/qemu-web-desktop/machines.conf file, and run qwdctl refresh. You can tune the service settings in the /etc/qemu-web-desktop/config.pl

Once installed, connect to http://server/qemu-web-desktop

There are three methods to install qemu-web-desktop on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qemu-web-desktop Using apt-get

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

sudo apt-get update

After updating apt database, We can install qemu-web-desktop using apt-get by running the following command:

sudo apt-get -y install qemu-web-desktop

Install qemu-web-desktop Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qemu-web-desktop using apt by running the following command:

sudo apt -y install qemu-web-desktop

Install qemu-web-desktop 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install qemu-web-desktop using aptitude by running the following command:

sudo aptitude -y install qemu-web-desktop

How To Uninstall qemu-web-desktop on Debian 12

To uninstall only the qemu-web-desktop package we can use the following command:

sudo apt-get remove qemu-web-desktop

Uninstall qemu-web-desktop And Its Dependencies

To uninstall qemu-web-desktop and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove qemu-web-desktop

Remove qemu-web-desktop Configurations and Data

To remove qemu-web-desktop configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge qemu-web-desktop

Remove qemu-web-desktop configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qemu-web-desktop

Dependencies

qemu-web-desktop have the following dependencies:

References

Summary

In this tutorial we learn how to install qemu-web-desktop package on Debian 12 using different package management tools: apt, apt-get and aptitude.