How To Install libcrypt-blowfish-perl on Ubuntu 18.04

In this tutorial we learn how to install libcrypt-blowfish-perl on Ubuntu 18.04. libcrypt-blowfish-perl is Blowfish cryptography for Perl

Introduction

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

What is libcrypt-blowfish-perl

libcrypt-blowfish-perl is:

This is Crypt::Blowfish, an XS-based implementation of the Blowfish cryptography algorithm designed by Bruce Schneier. It’s designed to take full advantage of Crypt::CBC when desired. Blowfish keys may be up to 448 bits (56 bytes) long.

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

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

Install libcrypt-blowfish-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcrypt-blowfish-perl

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

sudo aptitude -y install libcrypt-blowfish-perl

How To Uninstall libcrypt-blowfish-perl on Ubuntu 18.04

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

sudo apt-get remove libcrypt-blowfish-perl

Uninstall libcrypt-blowfish-perl And Its Dependencies

To uninstall libcrypt-blowfish-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-blowfish-perl

Remove libcrypt-blowfish-perl Configurations and Data

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

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

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

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

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

References

Summary

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