How To Install fwupd-tests on Ubuntu 20.04

In this tutorial we learn how to install fwupd-tests on Ubuntu 20.04. fwupd-tests is Test suite for firmware update daemon Test suite for firmware update daemon Test suite for firmware update daemon

Introduction

In this tutorial we learn how to install fwupd-tests on Ubuntu 20.04.

What is fwupd-tests

fwupd-tests is:

fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides a set of installed tests that can be run to validate the daemon in a continuous integration system.

Package: fwupd-tests Architecture: amd64 Version: 1.3.9-4ubuntu0.1 Multi-Arch: foreign Priority: optional Section: universe/admin Source: fwupd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 99 Depends: libfwupd2 (>= 1.0.0), libfwupdplugin1 (>= 1.3.5), libglib2.0-0 (>= 2.45.8), ca-certificates, dbus-x11, fwupd, gnome-desktop-testing, policykit-1, python3, python3-gi, python3-requests Breaks: fwupd (« 0.9.4-1) Replaces: fwupd (« 0.9.4-1) Filename: pool/universe/f/fwupd/fwupd-tests_1.3.9-4ubuntu0.1_amd64.deb Size: 16188 MD5sum: 3fed2c7e7a65b439a55e375483ae4167 SHA1: d13f6aa578fe5080c648ed35c6e4cb7b8d2d8b99 SHA256: f62ad9c0e3357ea7fe534e2f92ac4a9bf371a0c1d3e465c1fa1232233994658d SHA512: 29471fe2e5bd5366e8b4dee03892e450aac95cb01f9909266b8b6740bc3ed7edf36aa5d35386f01480c176347cb79b2ae30b7830852be249d721004f7eee65a2 Homepage: https://github.com/fwupd/fwupd Description-en: Test suite for firmware update daemon fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides a set of installed tests that can be run to validate the daemon in a continuous integration system.

Package: fwupd-tests Architecture: amd64 Version: 1.3.9-4 Multi-Arch: foreign Priority: optional Section: universe/admin Source: fwupd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 99 Depends: libfwupd2 (>= 1.0.0), libfwupdplugin1 (>= 1.3.5), libglib2.0-0 (>= 2.45.8), ca-certificates, dbus-x11, fwupd, gnome-desktop-testing, policykit-1, python3, python3-gi, python3-requests Breaks: fwupd (« 0.9.4-1) Replaces: fwupd (« 0.9.4-1) Filename: pool/universe/f/fwupd/fwupd-tests_1.3.9-4_amd64.deb Size: 16184 MD5sum: e21136a657406dfe64b64862300fa169 SHA1: edce09dea08b4ffaad809eaf200cf91eeafb7e0c SHA256: 877e4c038977ea4a599f4665c37d900756a11235f14be2080c48b4d5a27894f5 Homepage: https://github.com/fwupd/fwupd Description-en: Test suite for firmware update daemon fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides a set of installed tests that can be run to validate the daemon in a continuous integration system.

There are three methods to install fwupd-tests 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 fwupd-tests Using apt-get

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

sudo apt-get update

After updating apt database, We can install fwupd-tests using apt-get by running the following command:

sudo apt-get -y install fwupd-tests

Install fwupd-tests Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fwupd-tests using apt by running the following command:

sudo apt -y install fwupd-tests

Install fwupd-tests 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 fwupd-tests using aptitude by running the following command:

sudo aptitude -y install fwupd-tests

How To Uninstall fwupd-tests on Ubuntu 20.04

To uninstall only the fwupd-tests package we can use the following command:

sudo apt-get remove fwupd-tests

Uninstall fwupd-tests And Its Dependencies

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

sudo apt-get -y autoremove fwupd-tests

Remove fwupd-tests Configurations and Data

To remove fwupd-tests configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge fwupd-tests

Remove fwupd-tests configuration, data, and all of its dependencies

We can use the following command to remove fwupd-tests configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fwupd-tests

References

Summary

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