How To Install ruby-exception-notification on Debian 10

Learn how to install ruby-exception-notification on Debian 10 with this tutorial. ruby-exception-notification is exception notification support for Rails and Rack apps

Introduction

In this tutorial we learn how to install ruby-exception-notification on Debian 10.

What is ruby-exception-notification

ruby-exception-notification is:

Using this package, Rails or Rack applications can be configured can be configured to send notifications about any unhandled exceptions raised by the application. Notifications can be sent via email, IRC, HTTP, and other means.

There are three methods to install ruby-exception-notification on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ruby-exception-notification Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ruby-exception-notification

Install ruby-exception-notification Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-exception-notification using apt by running the following command:

sudo apt -y install ruby-exception-notification

Install ruby-exception-notification 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ruby-exception-notification using aptitude by running the following command:

sudo aptitude -y install ruby-exception-notification

How To Uninstall ruby-exception-notification on Debian 10

To uninstall only the ruby-exception-notification package we can use the following command:

sudo apt-get remove ruby-exception-notification

Uninstall ruby-exception-notification And Its Dependencies

To uninstall ruby-exception-notification and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove ruby-exception-notification

Remove ruby-exception-notification Configurations and Data

To remove ruby-exception-notification configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ruby-exception-notification

Remove ruby-exception-notification configuration, data, and all of its dependencies

We can use the following command to remove ruby-exception-notification configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-exception-notification

Dependencies

ruby-exception-notification have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-exception-notification package on Debian 10 using different package management tools: apt, apt-get and aptitude.