How To Install libtap-formatter-html-perl on Debian 12

Learn how to install libtap-formatter-html-perl on Debian 12 with this tutorial. libtap-formatter-html-perl is TAP Test Harness output delegate for html output

Introduction

In this tutorial we learn how to install libtap-formatter-html-perl on Debian 12.

What is libtap-formatter-html-perl

libtap-formatter-html-perl is:

TAP::Formatter::HTML provides HTML output formatting for TAP::Harness (a replacement for Test::Harness).

This module is targeted at all users of automated test suites. It’s meant to make reading test results easier, giving you a visual summary of your test suite and letting you drill down into individual failures.

There are three methods to install libtap-formatter-html-perl 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 libtap-formatter-html-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libtap-formatter-html-perl using apt-get by running the following command:

sudo apt-get -y install libtap-formatter-html-perl

Install libtap-formatter-html-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtap-formatter-html-perl using apt by running the following command:

sudo apt -y install libtap-formatter-html-perl

Install libtap-formatter-html-perl 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 libtap-formatter-html-perl using aptitude by running the following command:

sudo aptitude -y install libtap-formatter-html-perl

How To Uninstall libtap-formatter-html-perl on Debian 12

To uninstall only the libtap-formatter-html-perl package we can use the following command:

sudo apt-get remove libtap-formatter-html-perl

Uninstall libtap-formatter-html-perl And Its Dependencies

To uninstall libtap-formatter-html-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libtap-formatter-html-perl

Remove libtap-formatter-html-perl Configurations and Data

To remove libtap-formatter-html-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libtap-formatter-html-perl

Remove libtap-formatter-html-perl configuration, data, and all of its dependencies

We can use the following command to remove libtap-formatter-html-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libtap-formatter-html-perl

Dependencies

libtap-formatter-html-perl have the following dependencies:

References

Summary

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