How To Install reportbug on Ubuntu 18.04

In this tutorial we learn how to install reportbug on Ubuntu 18.04. reportbug is reports bugs in the Debian distribution

Introduction

In this tutorial we learn how to install reportbug on Ubuntu 18.04.

What is reportbug

reportbug is:

reportbug is a tool designed to make the reporting of bugs in Debian and derived distributions relatively painless. Its features include:

  • Integration with mutt and mh/nmh mail readers.
  • Access to outstanding bug reports to make it easier to identify whether problems have already been reported.
  • Automatic checking for newer versions of packages.
  • Optional automatic verification of integrity of packages via debsums.
  • Support for following-up on outstanding reports.
  • Optional PGP/GnuPG integration.

reportbug is designed to be used on systems with an installed mail transport agent, like exim or sendmail; however, you can edit the configuration file and send reports using any available mail server.

This package also includes the “querybts” script for browsing the Debian bug tracking system.

REPORTBUG IS MEANT FOR UBUNTU DEVELOPERS TO FORWARD BUGS TO DEBIAN. IF YOU WANT TO REPORT A BUG IN UBUNTU, PLEASE USE “ubuntu-bug” INSTEAD (from the “apport” package).

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

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

sudo apt-get update

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

sudo apt-get -y install reportbug

Install reportbug Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install reportbug using apt by running the following command:

sudo apt -y install reportbug

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

sudo aptitude -y install reportbug

How To Uninstall reportbug on Ubuntu 18.04

To uninstall only the reportbug package we can use the following command:

sudo apt-get remove reportbug

Uninstall reportbug And Its Dependencies

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

sudo apt-get -y autoremove reportbug

Remove reportbug Configurations and Data

To remove reportbug configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge reportbug

Remove reportbug configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge reportbug

References

Summary

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