How To Install libcrypto++-doc on Kali Linux

In this tutorial we learn how to install libcrypto++-doc on Kali Linux. libcrypto++-doc is General purpose cryptographic library - documentation

Introduction

In this tutorial we learn how to install libcrypto++-doc on Kali Linux.

What is libcrypto++-doc

libcrypto++-doc is:

Crypto++ is library for creating C++ programs which use cryptographic algorithms. The library uses a Pipes & Filters architecture with heavy use of templates and abstract base classes. The cryptographic tools include:

  • Authenticated encryption schemes (GCM, CCM, EAX),
  • High speed stream ciphers (Panama, Sosemanuk, Salsa20, XSalsa20),
  • AES and candidates (Rijndael, RC6, MARS, Twofish, Serpent, CAST-256),
  • Other symmetric block ciphers (IDEA, Triple-DES, Camellia, SEED, RC5, Blowfish, TEA, XTEA, Skipjack, SHACAL-2),
  • Block cipher modes of operation (ECB, CBC, CTS, CFB, OFB, CTR),
  • Message authentication codes (VMAC, HMAC, CMAC, CBC-MAC, DMAC, Two-Track-MAC),
  • Hash functions (SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, Tiger, WHIRLPOOL, RIPEMD-128, RIPEMD-256, RIPEMD-160, RIPEMD-320),
  • Public-key cryptography (RSA, DSA, ElGamal, NR, RW, LUC, LUCELG, DLIES, ESIGN),
  • Padding schemes for public-key systems (PKCS#1, OAEP, PSS, PSSR, EMSA2, EMSA5),
  • Key agreement schemes (DH, MQV, LUCDIF, XTR-DH),
  • Elliptic curve cryptography (ECDSA, ECNR, ECIES, ECDH, ECMQV),
  • Backwards compatibility algorithms (MD2, MD4, MD5, Panama Hash, DES, ARC4, SEAL 3.0, WAKE, WAKE-OFB, DESX, RC2, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square),
  • Pseudo-random number generators, and a whole lot more. Alternative libraries are libgcrypt and nettle.

This package includes the HTML reference guide to the source code.

There are three methods to install libcrypto++-doc on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libcrypto++-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcrypto++-doc using apt-get by running the following command:

sudo apt-get -y install libcrypto++-doc

Install libcrypto++-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcrypto++-doc using apt by running the following command:

sudo apt -y install libcrypto++-doc

Install libcrypto++-doc Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libcrypto++-doc using aptitude by running the following command:

sudo aptitude -y install libcrypto++-doc

How To Uninstall libcrypto++-doc on Kali Linux

To uninstall only the libcrypto++-doc package we can use the following command:

sudo apt-get remove libcrypto++-doc

Uninstall libcrypto++-doc And Its Dependencies

To uninstall libcrypto++-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libcrypto++-doc

Remove libcrypto++-doc Configurations and Data

To remove libcrypto++-doc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcrypto++-doc

Remove libcrypto++-doc configuration, data, and all of its dependencies

We can use the following command to remove libcrypto++-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcrypto++-doc

Dependencies

libcrypto++-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libcrypto++-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.