How To Install apport-symptoms on Ubuntu 18.04

In this tutorial we learn how to install apport-symptoms on Ubuntu 18.04. apport-symptoms is symptom scripts for apport

Introduction

In this tutorial we learn how to install apport-symptoms on Ubuntu 18.04.

What is apport-symptoms

apport-symptoms is:

Apport intercepts program crashes, collects debugging information about the crash and the operating system environment, and sends it to bug trackers in a standardized form. It also offers the user to report a bug about a package, with again collecting as much information about it as possible.

This package extends Apport by some “symptom” scripts, so that bug reporters do not have to guess the correct package, but report problems based on symptoms that they have (like “sound problem”), through an interactive process.

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

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

sudo apt-get update

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

sudo apt-get -y install apport-symptoms

Install apport-symptoms Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apport-symptoms

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

sudo aptitude -y install apport-symptoms

How To Uninstall apport-symptoms on Ubuntu 18.04

To uninstall only the apport-symptoms package we can use the following command:

sudo apt-get remove apport-symptoms

Uninstall apport-symptoms And Its Dependencies

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

sudo apt-get -y autoremove apport-symptoms

Remove apport-symptoms Configurations and Data

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

sudo apt-get -y purge apport-symptoms

Remove apport-symptoms configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apport-symptoms

References

Summary

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