How To Install shush on Debian 12

Learn how to install shush on Debian 12 with this tutorial. shush is runs a command and optionally reports its output by mail

Introduction

In this tutorial we learn how to install shush on Debian 12.

What is shush

shush is:

shush was written to be a generic wrapper around cron jobs so that it can be applied to any command without having to modify it or create a custom wrapper for it. In a sense, it solves a fairly simple problem, but it also brings some powerful features making it a useful tool beyond cron jobs.

Feature highlights:

  • Multiple reports (for the output) may be defined
  • Decision to send a report (or not) is configurable based on:
    • Output content analysis (using regular expressions)
    • Command exit code
    • Size of output
    • Command execution duration
  • Support for plain text, enriched text and HTML report formatting. (The latter two allow rendering part of the output in bold.)
  • Various timeout actions such as notification and command termination
  • Locking support
  • Progress report logging via syslog
  • Automatic crontab file updating based on shush’s configuration

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

Install shush Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install shush

Install shush Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install shush

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

sudo aptitude -y install shush

How To Uninstall shush on Debian 12

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

sudo apt-get remove shush

Uninstall shush And Its Dependencies

To uninstall shush and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove shush

Remove shush Configurations and Data

To remove shush configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge shush

Remove shush configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge shush

Dependencies

shush have the following dependencies:

References

Summary

In this tutorial we learn how to install shush package on Debian 12 using different package management tools: apt, apt-get and aptitude.