How To Install libexcel-template-plus-perl on Ubuntu 18.04

In this tutorial we learn how to install libexcel-template-plus-perl on Ubuntu 18.04. libexcel-template-plus-perl is module for testing and comparing Excel files

Introduction

In this tutorial we learn how to install libexcel-template-plus-perl on Ubuntu 18.04.

What is libexcel-template-plus-perl

libexcel-template-plus-perl is:

Excel::Template::Plus attempts to provide a means of testing and comparing dynamically generated excel files. Currently it only supports comparing two excel files for some approximation of structural (values within cells) and visual (formatting of said cells) equivalence.

There are three methods to install libexcel-template-plus-perl 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 libexcel-template-plus-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 libexcel-template-plus-perl using apt-get by running the following command:

sudo apt-get -y install libexcel-template-plus-perl

Install libexcel-template-plus-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libexcel-template-plus-perl using apt by running the following command:

sudo apt -y install libexcel-template-plus-perl

Install libexcel-template-plus-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libexcel-template-plus-perl using aptitude by running the following command:

sudo aptitude -y install libexcel-template-plus-perl

How To Uninstall libexcel-template-plus-perl on Ubuntu 18.04

To uninstall only the libexcel-template-plus-perl package we can use the following command:

sudo apt-get remove libexcel-template-plus-perl

Uninstall libexcel-template-plus-perl And Its Dependencies

To uninstall libexcel-template-plus-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libexcel-template-plus-perl

Remove libexcel-template-plus-perl Configurations and Data

To remove libexcel-template-plus-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libexcel-template-plus-perl

Remove libexcel-template-plus-perl configuration, data, and all of its dependencies

We can use the following command to remove libexcel-template-plus-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libexcel-template-plus-perl

References

Summary

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