How To Install qemu-efi-arm on Ubuntu 20.04

In this tutorial we learn how to install qemu-efi-arm on Ubuntu 20.04. qemu-efi-arm is UEFI firmware for 32-bit ARM virtual machines UEFI firmware for 32-bit ARM virtual machines

Introduction

In this tutorial we learn how to install qemu-efi-arm on Ubuntu 20.04.

What is qemu-efi-arm

qemu-efi-arm is:

qemu-efi-arm is a build of EDK II for 32-bit ARM virtual machines. It includes full support for UEFI, including Secure Boot.

Package: qemu-efi-arm Architecture: all Version: 0~20191122.bd85bf54-2ubuntu3 Priority: extra Section: misc Source: edk2 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian QEMU Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 131113 Filename: pool/main/e/edk2/qemu-efi-arm_0~20191122.bd85bf54-2ubuntu3_all.deb Size: 1030880 MD5sum: 1d7e99bb4001131e722c37b0e7b9ab74 SHA1: 90503f32b61e1e2f75b584f5b3a8ed293ff01a81 SHA256: 6d0ecac8fe0382d7a0ee11a0c2483373bcf48e2c3a34d93397e921c74200e1a0 Homepage: http://www.tianocore.org Description-en: UEFI firmware for 32-bit ARM virtual machines qemu-efi-arm is a build of EDK II for 32-bit ARM virtual machines. It includes full support for UEFI, including Secure Boot.

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

sudo apt-get -y install qemu-efi-arm

Install qemu-efi-arm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qemu-efi-arm

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

sudo aptitude -y install qemu-efi-arm

How To Uninstall qemu-efi-arm on Ubuntu 20.04

To uninstall only the qemu-efi-arm package we can use the following command:

sudo apt-get remove qemu-efi-arm

Uninstall qemu-efi-arm And Its Dependencies

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

sudo apt-get -y autoremove qemu-efi-arm

Remove qemu-efi-arm Configurations and Data

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

sudo apt-get -y purge qemu-efi-arm

Remove qemu-efi-arm configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qemu-efi-arm

References

Summary

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