How To Install libdata-ical-perl on Debian 10

Learn how to install libdata-ical-perl on Debian 10 with this tutorial. libdata-ical-perl is Perl module for manipulating iCalendar (RFC2445) files

Introduction

In this tutorial we learn how to install libdata-ical-perl on Debian 10.

What is libdata-ical-perl

libdata-ical-perl is:

Data::ICal provides an implementation of Perl objects that represent a given VCALENDAR object as defined in the iCalendar protocol (RFC 2445, MIME type “text/calendar”), as implemented in many popular calendaring programs such as Apple’s iCal.

Each Data::ICal object is a collection of “entries”, which are objects of a subclass of Data::ICal::Entry. The types of entries defined by iCalendar (which refers to them as “components”) include events, to-do items, journal entries, free/busy time indicators and time zone descriptors, but this module currently only implements to-do items and events.

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

sudo apt-get -y install libdata-ical-perl

Install libdata-ical-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdata-ical-perl

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

sudo aptitude -y install libdata-ical-perl

How To Uninstall libdata-ical-perl on Debian 10

To uninstall only the libdata-ical-perl package we can use the following command:

sudo apt-get remove libdata-ical-perl

Uninstall libdata-ical-perl And Its Dependencies

To uninstall libdata-ical-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libdata-ical-perl

Remove libdata-ical-perl Configurations and Data

To remove libdata-ical-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libdata-ical-perl

Remove libdata-ical-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdata-ical-perl

Dependencies

libdata-ical-perl have the following dependencies:

References

Summary

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