How To Install plainbox-provider-resource-generic on Ubuntu 18.04

In this tutorial we learn how to install plainbox-provider-resource-generic on Ubuntu 18.04. plainbox-provider-resource-generic is CheckBox generic resource jobs provider

Introduction

In this tutorial we learn how to install plainbox-provider-resource-generic on Ubuntu 18.04.

What is plainbox-provider-resource-generic

plainbox-provider-resource-generic is:

This package provides the generic resource jobs. It is used together alongside with PlainBox.

Jobs are smallest units of testing that can be performed by PlainBox. All jobs have an unique name. There are many types of jobs, some are fully automated others are fully manual.

Resources are collections of key-value data sets that are generated by special resource jobs. They are extensively used to indicate hardware or software dependencies. For example a bluetooth test may indicate it requires bluetooth hardware and appropriate software packages installed.

There are three methods to install plainbox-provider-resource-generic 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 plainbox-provider-resource-generic Using apt-get

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

sudo apt-get update

After updating apt database, We can install plainbox-provider-resource-generic using apt-get by running the following command:

sudo apt-get -y install plainbox-provider-resource-generic

Install plainbox-provider-resource-generic Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install plainbox-provider-resource-generic using apt by running the following command:

sudo apt -y install plainbox-provider-resource-generic

Install plainbox-provider-resource-generic 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 plainbox-provider-resource-generic using aptitude by running the following command:

sudo aptitude -y install plainbox-provider-resource-generic

How To Uninstall plainbox-provider-resource-generic on Ubuntu 18.04

To uninstall only the plainbox-provider-resource-generic package we can use the following command:

sudo apt-get remove plainbox-provider-resource-generic

Uninstall plainbox-provider-resource-generic And Its Dependencies

To uninstall plainbox-provider-resource-generic and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove plainbox-provider-resource-generic

Remove plainbox-provider-resource-generic Configurations and Data

To remove plainbox-provider-resource-generic configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge plainbox-provider-resource-generic

Remove plainbox-provider-resource-generic configuration, data, and all of its dependencies

We can use the following command to remove plainbox-provider-resource-generic configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge plainbox-provider-resource-generic

References

Summary

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