How To Install libcrypt-openssl-dsa-perl on Ubuntu 18.04

In this tutorial we learn how to install libcrypt-openssl-dsa-perl on Ubuntu 18.04. libcrypt-openssl-dsa-perl is module which implements the DSA signature verification system

Introduction

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

What is libcrypt-openssl-dsa-perl

libcrypt-openssl-dsa-perl is:

Crypt::OpenSSL::DSA is a wrapper to the DSA (Digital Signature Algorithm) functions contained in the OpenSSL crypto library. It allows you to create public/private key pair, sign messages and verify signatures, as well as manipulate the keys at the low level.

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

sudo apt-get -y install libcrypt-openssl-dsa-perl

Install libcrypt-openssl-dsa-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcrypt-openssl-dsa-perl

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

sudo aptitude -y install libcrypt-openssl-dsa-perl

How To Uninstall libcrypt-openssl-dsa-perl on Ubuntu 18.04

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

sudo apt-get remove libcrypt-openssl-dsa-perl

Uninstall libcrypt-openssl-dsa-perl And Its Dependencies

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

Remove libcrypt-openssl-dsa-perl Configurations and Data

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

sudo apt-get -y purge libcrypt-openssl-dsa-perl

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

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

sudo apt-get -y autoremove --purge libcrypt-openssl-dsa-perl

References

Summary

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