How To Install libfreezethaw-perl on Ubuntu 18.04

In this tutorial we learn how to install libfreezethaw-perl on Ubuntu 18.04. libfreezethaw-perl is module to serialize and deserialize Perl data structures

Introduction

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

What is libfreezethaw-perl

libfreezethaw-perl is:

FreezeThaw is a Perl module designed to convert data to and from a serialized string format, appropriate for saving to and reading from permanent storage. It is capable of dealing with objects, circular lists and repeated appearance of the same reference.

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

sudo apt-get -y install libfreezethaw-perl

Install libfreezethaw-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfreezethaw-perl

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

sudo aptitude -y install libfreezethaw-perl

How To Uninstall libfreezethaw-perl on Ubuntu 18.04

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

sudo apt-get remove libfreezethaw-perl

Uninstall libfreezethaw-perl And Its Dependencies

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

sudo apt-get -y autoremove libfreezethaw-perl

Remove libfreezethaw-perl Configurations and Data

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

sudo apt-get -y purge libfreezethaw-perl

Remove libfreezethaw-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfreezethaw-perl

References

Summary

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