How To Install apport-gtk on Ubuntu 20.04

In this tutorial we learn how to install apport-gtk on Ubuntu 20.04. apport-gtk is GTK+ frontend for the apport crash report system GTK+ frontend for the apport crash report system

Introduction

In this tutorial we learn how to install apport-gtk on Ubuntu 20.04.

What is apport-gtk

apport-gtk is:

apport automatically collects data from crashed processes and compiles a problem report in /var/crash/. This utilizes the crashdump helper hook provided by the Ubuntu kernel.

This package provides a GTK+ frontend for browsing and handling the crash reports. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: apport-gtk Architecture: all Version: 2.20.11-0ubuntu27 Priority: optional Section: gnome Source: apport Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 198 Depends: python3, python3-apport (>= 2.20.11-0ubuntu27), gir1.2-gtk-3.0 (>= 3.1.90), gir1.2-wnck-3.0, python3-gi, apport (>= 0.41), procps, x-terminal-emulator, whoopsie-preferences Recommends: update-notifier, gdb | gdb-minimal Filename: pool/main/a/apport/apport-gtk_2.20.11-0ubuntu27_all.deb Size: 9720 MD5sum: 37541962b45be66dcc6d2ea29e34321e SHA1: 6ff32ccf1204467918da860d8b616da350fbec4f SHA256: 2e5fd51a982d8d658b3d876a04e2739123ed1a025a8526c3a0b9da3b13230534 Homepage: https://wiki.ubuntu.com/Apport Description-en: GTK+ frontend for the apport crash report system apport automatically collects data from crashed processes and compiles a problem report in /var/crash/. This utilizes the crashdump helper hook provided by the Ubuntu kernel.

This package provides a GTK+ frontend for browsing and handling the crash reports. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

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

sudo apt-get -y install apport-gtk

Install apport-gtk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apport-gtk

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

sudo aptitude -y install apport-gtk

How To Uninstall apport-gtk on Ubuntu 20.04

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

sudo apt-get remove apport-gtk

Uninstall apport-gtk And Its Dependencies

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

sudo apt-get -y autoremove apport-gtk

Remove apport-gtk Configurations and Data

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

sudo apt-get -y purge apport-gtk

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

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

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

References

Summary

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