How To Install qemu-system-gui on Ubuntu 20.04

In this tutorial we learn how to install qemu-system-gui on Ubuntu 20.04. qemu-system-gui is QEMU full system emulation binaries (user interface and audio support) QEMU full system emulation binaries (user interface and audio support)

Introduction

In this tutorial we learn how to install qemu-system-gui on Ubuntu 20.04.

What is qemu-system-gui

qemu-system-gui is:

This package provides local graphical user interface (currently GTK) and audio backends for full system emulation (qemu-system-*) packages.

Package: qemu-system-gui Architecture: amd64 Version: 1:4.2-3ubuntu6 Multi-Arch: same Priority: optional Section: otherosfs Source: qemu Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian QEMU Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 260 Depends: libc6 (>= 2.14), libcairo2 (>= 1.2.4), libepoxy0 (>= 1.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk-3-0 (>= 3.21.4), libpulse0 (>= 0.99.1), libvte-2.91-0 (>= 0.49.92), libx11-6 Filename: pool/main/q/qemu/qemu-system-gui_4.2-3ubuntu6_amd64.deb Size: 43384 MD5sum: 57ff67b83703081e8e2d814ddffc8dd7 SHA1: d9026a6e807f6754581e40966fb07a48a121b392 SHA256: 0a7ddf04f510bb77dba8f90562088213693883e895e2786d8412420320445658 Homepage: http://www.qemu.org/ Description-en: QEMU full system emulation binaries (user interface and audio support) This package provides local graphical user interface (currently GTK) and audio backends for full system emulation (qemu-system-*) packages.

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

sudo apt-get -y install qemu-system-gui

Install qemu-system-gui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qemu-system-gui

Install qemu-system-gui 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 qemu-system-gui using aptitude by running the following command:

sudo aptitude -y install qemu-system-gui

How To Uninstall qemu-system-gui on Ubuntu 20.04

To uninstall only the qemu-system-gui package we can use the following command:

sudo apt-get remove qemu-system-gui

Uninstall qemu-system-gui And Its Dependencies

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

sudo apt-get -y autoremove qemu-system-gui

Remove qemu-system-gui Configurations and Data

To remove qemu-system-gui configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge qemu-system-gui

Remove qemu-system-gui configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qemu-system-gui

References

Summary

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