How To Install libical-parser-perl on Ubuntu 18.04

In this tutorial we learn how to install libical-parser-perl on Ubuntu 18.04. libical-parser-perl is module to parse iCalendar files into a data structure

Introduction

In this tutorial we learn how to install libical-parser-perl on Ubuntu 18.04.

What is libical-parser-perl

libical-parser-perl is:

iCal::Parser is a Perl module that processes iCalendar (vCalendar 2.0) files as specified in RFC 2445 into a Perl data structure. It handles several key features, including recurrences, exclusions, event updates and nested data structures (attendees and valarms).

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

sudo apt-get -y install libical-parser-perl

Install libical-parser-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libical-parser-perl

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

sudo aptitude -y install libical-parser-perl

How To Uninstall libical-parser-perl on Ubuntu 18.04

To uninstall only the libical-parser-perl package we can use the following command:

sudo apt-get remove libical-parser-perl

Uninstall libical-parser-perl And Its Dependencies

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

sudo apt-get -y autoremove libical-parser-perl

Remove libical-parser-perl Configurations and Data

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

sudo apt-get -y purge libical-parser-perl

Remove libical-parser-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libical-parser-perl

References

Summary

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