How To Install libmime-base64-urlsafe-perl on Debian 10

Learn how to install libmime-base64-urlsafe-perl on Debian 10 with this tutorial. libmime-base64-urlsafe-perl is Perl version of Pythons URL-safe base64 codec

Introduction

In this tutorial we learn how to install libmime-base64-urlsafe-perl on Debian 10.

What is libmime-base64-urlsafe-perl

libmime-base64-urlsafe-perl is:

MIME::Base64::URLSafe is a perl version of python’s URL-safe base64 encoder / decoder.

When embedding binary data in URL, it is preferable to use base64 encoding. However, two characters (’+’ and ‘/’) used in the standard base64 encoding have special meanings in URLs, often leading to re-encoding with URL-encoding, or worse, interoperability problems.

To overcome the problem, the module provides a variation of base64 codec compatible with python’s urlsafe_b64encode / urlsafe_b64decode

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

sudo apt-get -y install libmime-base64-urlsafe-perl

Install libmime-base64-urlsafe-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmime-base64-urlsafe-perl

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

sudo aptitude -y install libmime-base64-urlsafe-perl

How To Uninstall libmime-base64-urlsafe-perl on Debian 10

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

sudo apt-get remove libmime-base64-urlsafe-perl

Uninstall libmime-base64-urlsafe-perl And Its Dependencies

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

sudo apt-get -y autoremove libmime-base64-urlsafe-perl

Remove libmime-base64-urlsafe-perl Configurations and Data

To remove libmime-base64-urlsafe-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libmime-base64-urlsafe-perl

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

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

sudo apt-get -y autoremove --purge libmime-base64-urlsafe-perl

Dependencies

libmime-base64-urlsafe-perl have the following dependencies:

References

Summary

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