How To Install libcrypt-eksblowfish-perl on Ubuntu 18.04

In this tutorial we learn how to install libcrypt-eksblowfish-perl on Ubuntu 18.04. libcrypt-eksblowfish-perl is Perl module implementing the Eksblowfish block cipher

Introduction

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

What is libcrypt-eksblowfish-perl

libcrypt-eksblowfish-perl is:

Crypt::Eksblowfish provides an implementation of the Eksblowfish encryption.

Eksblowfish is a variant of the Blowfish cipher, modified to make the key setup very expensive. (“Eks” stands for “expensive key schedule”.) This doesn’t make it significantly cryptographically stronger, but is intended to hinder brute-force attacks. It also makes it unsuitable for any application requiring key agility. It was designed by Niels Provos and David Mazieres for password hashing in OpenBSD. See Crypt::Eksblowfish::Bcrypt for the hash algorithm.

Eksblowfish is a parameterised (family-keyed) cipher. It takes a cost parameter that controls how expensive the key scheduling is. It also takes a family key, known as the “salt”. Cost and salt parameters together define a cipher family. Within each family, a key determines an encryption function in the usual way. See Crypt::Eksblowfish::Family for a way to encapsulate an Eksblowfish cipher family.

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

sudo apt-get -y install libcrypt-eksblowfish-perl

Install libcrypt-eksblowfish-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcrypt-eksblowfish-perl

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

sudo aptitude -y install libcrypt-eksblowfish-perl

How To Uninstall libcrypt-eksblowfish-perl on Ubuntu 18.04

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

sudo apt-get remove libcrypt-eksblowfish-perl

Uninstall libcrypt-eksblowfish-perl And Its Dependencies

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

sudo apt-get -y autoremove libcrypt-eksblowfish-perl

Remove libcrypt-eksblowfish-perl Configurations and Data

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

sudo apt-get -y purge libcrypt-eksblowfish-perl

Remove libcrypt-eksblowfish-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcrypt-eksblowfish-perl

References

Summary

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