How To Install libdime-tools-perl on Ubuntu 18.04

In this tutorial we learn how to install libdime-tools-perl on Ubuntu 18.04. libdime-tools-perl is modules to parse and generate DIME messages

Introduction

In this tutorial we learn how to install libdime-tools-perl on Ubuntu 18.04.

What is libdime-tools-perl

libdime-tools-perl is:

DIME::tools is a collection of DIME::* modules to parse and generate DIME encoded messages (Direct Internet Message Encapsulation). DIME::tools support single-record and chunked payloads for sending big attachments.

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

sudo apt-get -y install libdime-tools-perl

Install libdime-tools-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdime-tools-perl

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

sudo aptitude -y install libdime-tools-perl

How To Uninstall libdime-tools-perl on Ubuntu 18.04

To uninstall only the libdime-tools-perl package we can use the following command:

sudo apt-get remove libdime-tools-perl

Uninstall libdime-tools-perl And Its Dependencies

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

sudo apt-get -y autoremove libdime-tools-perl

Remove libdime-tools-perl Configurations and Data

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

sudo apt-get -y purge libdime-tools-perl

Remove libdime-tools-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdime-tools-perl

References

Summary

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