How To Install flatpak-tests on Ubuntu 20.04

In this tutorial we learn how to install flatpak-tests on Ubuntu 20.04. flatpak-tests is Application deployment framework for desktop apps (tests) Application deployment framework for desktop apps (tests)

Introduction

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

What is flatpak-tests

flatpak-tests is:

Flatpak installs, manages and runs sandboxed desktop application bundles. See the flatpak package for a more comprehensive description.

This package contains automated tests.

Package: flatpak-tests Architecture: amd64 Version: 1.6.3-1 Priority: optional Section: universe/misc Source: flatpak Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Utopia Maintenance Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2727 Depends: attr, ca-certificates, desktop-file-utils, flatpak (= 1.6.3-1), fuse, gnupg, gtk-update-icon-cache, hicolor-icon-theme, ostree (>= 2019.2), policykit-1, shared-mime-info, socat, libappstream-glib8 (>= 0.5.13), libarchive13 (>= 3.0.4), libc6 (>= 2.28), libdconf1 (>= 0.26.0), libflatpak0 (>= 1.5.2), libglib2.0-0 (>= 2.55.1), libgpgme11 (>= 1.1.8), libjson-glib-1.0-0 (>= 1.2.0), libostree-1-1 (>= 2019.6), libseccomp2 (>= 1.0.1), libsoup2.4-1 (>= 2.41.90), libsystemd0, libxau6, libxml2 (>= 2.7.4) Recommends: python3 Filename: pool/universe/f/flatpak/flatpak-tests_1.6.3-1_amd64.deb Size: 530192 MD5sum: 5ded6310b6dff0dd29e240a5246f7bad SHA1: 0b477ba32bf2a0f18bb3b36f20a59bf10ff5dc41 SHA256: 34b086c3f749ce5380957be29324a0b2a4e091823af37200b634fb44067d607e Homepage: https://flatpak.org/ Description-en: Application deployment framework for desktop apps (tests) Flatpak installs, manages and runs sandboxed desktop application bundles. See the flatpak package for a more comprehensive description.

This package contains automated tests.

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

sudo apt-get -y install flatpak-tests

Install flatpak-tests Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install flatpak-tests

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

sudo aptitude -y install flatpak-tests

How To Uninstall flatpak-tests on Ubuntu 20.04

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

sudo apt-get remove flatpak-tests

Uninstall flatpak-tests And Its Dependencies

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

sudo apt-get -y autoremove flatpak-tests

Remove flatpak-tests Configurations and Data

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

sudo apt-get -y purge flatpak-tests

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

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

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

References

Summary

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