How To Install libcalendar-simple-perl on Ubuntu 18.04

In this tutorial we learn how to install libcalendar-simple-perl on Ubuntu 18.04. libcalendar-simple-perl is module for producing simple calendars

Introduction

In this tutorial we learn how to install libcalendar-simple-perl on Ubuntu 18.04.

What is libcalendar-simple-perl

libcalendar-simple-perl is:

Calendar::Simple is a Perl module that exports a single function, calendar(), which returns a data structure representing dates in a month. Its output can be configured in various ways, for example, by changing the day that each week begins with.

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

sudo apt-get -y install libcalendar-simple-perl

Install libcalendar-simple-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcalendar-simple-perl using apt by running the following command:

sudo apt -y install libcalendar-simple-perl

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

sudo aptitude -y install libcalendar-simple-perl

How To Uninstall libcalendar-simple-perl on Ubuntu 18.04

To uninstall only the libcalendar-simple-perl package we can use the following command:

sudo apt-get remove libcalendar-simple-perl

Uninstall libcalendar-simple-perl And Its Dependencies

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

sudo apt-get -y autoremove libcalendar-simple-perl

Remove libcalendar-simple-perl Configurations and Data

To remove libcalendar-simple-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libcalendar-simple-perl

Remove libcalendar-simple-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcalendar-simple-perl

References

Summary

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