How to Install and Uninstall libcrypt-dh-gmp-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "libcrypt-dh-gmp-perl" package

Here is a brief guide to show you how to install libcrypt-dh-gmp-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libcrypt-dh-gmp-perl

2. Uninstall "libcrypt-dh-gmp-perl" package

This guide let you learn how to uninstall libcrypt-dh-gmp-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libcrypt-dh-gmp-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcrypt-dh-gmp-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libcrypt-dh-gmp-perl
Architecture: amd64
Version: 0.00012-1build7
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: perl (>= 5.32.0-4), perlapi-5.32.0, libc6 (>= 2.14), libgmp10
Filename: pool/universe/libc/libcrypt-dh-gmp-perl/libcrypt-dh-gmp-perl_0.00012-1build7_amd64.deb
Size: 16556
MD5sum: d2f6795a72bf6f2851a89f8343210eb0
SHA1: 6239e9ddc8cbe7cef2127934be8c934f8d9d3ab4
SHA256: 94a0bde21dcb9ba850bb54ddbff4d6317db9441767c7ce641c543e6e6d47bb55
SHA512: 9c668e803d64330ebfbaf9c09f1ff456520086e07759d156e4d7d7b86a4d59b73a5e519e57e967b0ce4800ae12ac395db6c965505e781504016df4177ea0b4b3
Homepage: https://metacpan.org/release/Crypt-DH-GMP
Description-en: Crypt::DH replacement that uses GMP directly
Crypt::DH::GMP is a (somewhat) portable replacement to Crypt::DH, implemented
mostly in C.
.
In the beginning, there was Crypt::DH. However, Crypt::DH suffers from a
couple of problems: GMP/Pari libraries are almost always required; Crypt::DH
additionally has Math::BigInt in between GMP. Instantiating an object
comes with a relatively high cost, and if you make many computations in one
go, your program will suffer dramatically because of this.
.
Crypt::DH::GMP attempts to alleviate these problems by providing a
Crypt::DH-compatible layer, which, instead of doing calculations via
Math::BigInt, directly works with libgmp in C.
.
This means that essentially 2 call stacks worth of expensive Perl method
calls are eliminated and also only load 1 (Crypt::DH::GMP) module instead of
3 (Crypt::DH + Math::BigInt + Math::BigInt::GMP) is needed.
.
These add up to a fairly significant increase in performance.
Description-md5: 6e9dc0ccabd81b84b4452795173a480e