How To Install ubuntu-report on Ubuntu 18.04

In this tutorial we learn how to install ubuntu-report on Ubuntu 18.04. ubuntu-report is Report hardware and other collected metrics

Introduction

In this tutorial we learn how to install ubuntu-report on Ubuntu 18.04.

What is ubuntu-report

ubuntu-report is:

The tool will show you what is going to be reported and ask for your acknowledgement before uploading it. This information can’t be used to identify a single machine and is presented before being sent to the server.

This package contains the command line tool.

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

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

sudo apt-get update

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

sudo apt-get -y install ubuntu-report

Install ubuntu-report Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ubuntu-report

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

sudo aptitude -y install ubuntu-report

How To Uninstall ubuntu-report on Ubuntu 18.04

To uninstall only the ubuntu-report package we can use the following command:

sudo apt-get remove ubuntu-report

Uninstall ubuntu-report And Its Dependencies

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

sudo apt-get -y autoremove ubuntu-report

Remove ubuntu-report Configurations and Data

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

sudo apt-get -y purge ubuntu-report

Remove ubuntu-report configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ubuntu-report

References

Summary

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