How To Install libdigest-bubblebabble-perl on Ubuntu 18.04

In this tutorial we learn how to install libdigest-bubblebabble-perl on Ubuntu 18.04. libdigest-bubblebabble-perl is perl module to create bubble-babble fingerprints

Introduction

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

What is libdigest-bubblebabble-perl

libdigest-bubblebabble-perl is:

Digest::BubbleBabble takes a message digest (generated by either of the MD5 or SHA-1 message digest algorithms) and creates a fingerprint of that digest in “bubble babble” format. Bubble babble is a method of representing a message digest as a string of “real” words, to make the fingerprint easier to remember. The “words” are not necessarily real words, but they look more like words than a string of hex characters.

Bubble babble fingerprinting is used by the SSH2 suite (and, consequently, by Net::SSH::Perl, the Perl SSH implementation) to display easy-to-remember key fingerprints. The key (a DSA or RSA key) is converted into a textual form, digested using Digest::SHA, and run through bubblebabble to create the key fingerprint.

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

sudo apt-get -y install libdigest-bubblebabble-perl

Install libdigest-bubblebabble-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdigest-bubblebabble-perl

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

sudo aptitude -y install libdigest-bubblebabble-perl

How To Uninstall libdigest-bubblebabble-perl on Ubuntu 18.04

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

sudo apt-get remove libdigest-bubblebabble-perl

Uninstall libdigest-bubblebabble-perl And Its Dependencies

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

sudo apt-get -y autoremove libdigest-bubblebabble-perl

Remove libdigest-bubblebabble-perl Configurations and Data

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

sudo apt-get -y purge libdigest-bubblebabble-perl

Remove libdigest-bubblebabble-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdigest-bubblebabble-perl

References

Summary

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