How To Install libmime-base32-perl on Ubuntu 18.04

In this tutorial we learn how to install libmime-base32-perl on Ubuntu 18.04. libmime-base32-perl is Base32 encoder/decoder

Introduction

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

What is libmime-base32-perl

libmime-base32-perl is:

Similar to Base64, Base32 encodes arbitrary (binary) data in ASCII text. The difference to Base64 is that Base32 encoding is case insensitive.

Base32 is defined in rfc3548 using the characters [A-Z2-7], but this module by default uses [0-9A-V] for compatibility with older versions of MIME::Base32. An RFC compliant mode is also provided, though.

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

sudo apt-get -y install libmime-base32-perl

Install libmime-base32-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmime-base32-perl

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

sudo aptitude -y install libmime-base32-perl

How To Uninstall libmime-base32-perl on Ubuntu 18.04

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

sudo apt-get remove libmime-base32-perl

Uninstall libmime-base32-perl And Its Dependencies

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

sudo apt-get -y autoremove libmime-base32-perl

Remove libmime-base32-perl Configurations and Data

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

sudo apt-get -y purge libmime-base32-perl

Remove libmime-base32-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmime-base32-perl

References

Summary

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