How To Install webapps-metainfo on Ubuntu 18.04

In this tutorial we learn how to install webapps-metainfo on Ubuntu 18.04. webapps-metainfo is Metadata for web applications

Introduction

In this tutorial we learn how to install webapps-metainfo on Ubuntu 18.04.

What is webapps-metainfo

webapps-metainfo is:

This package contains metadata describing web applications for the AppStream metadata generator. It makes certain web applications show up in graphical software managers such as GNOME Software and KDE Discover.

You usually do not want to install this package, as its sole purpose is to be a single and easily accessible source to edit the web applications shown in software centers on Debian and its derivatives.

There are three methods to install webapps-metainfo on Ubuntu 18.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 webapps-metainfo Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install webapps-metainfo

Install webapps-metainfo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install webapps-metainfo

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

sudo aptitude -y install webapps-metainfo

How To Uninstall webapps-metainfo on Ubuntu 18.04

To uninstall only the webapps-metainfo package we can use the following command:

sudo apt-get remove webapps-metainfo

Uninstall webapps-metainfo And Its Dependencies

To uninstall webapps-metainfo and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove webapps-metainfo

Remove webapps-metainfo Configurations and Data

To remove webapps-metainfo configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge webapps-metainfo

Remove webapps-metainfo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge webapps-metainfo

References

Summary

In this tutorial we learn how to install webapps-metainfo package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.