How To Install r-cran-digest on Kali Linux

In this tutorial we learn how to install r-cran-digest on Kali Linux. r-cran-digest is GNU R package for hash digest of R data structures

Introduction

In this tutorial we learn how to install r-cran-digest on Kali Linux.

What is r-cran-digest

r-cran-digest is:

Implementation of a function ‘digest()’ for the creation of hash digests of arbitrary R objects (using the md5, sha-1, sha-256, crc32, xxhash, murmurhash, and spookyhash algorithms) permitting easy comparison of R language objects, as well as a function ‘hmac()’ to create hash-based message authentication code.

Please note that this package is not meant to be deployed for cryptographic purposes for which more comprehensive (and widely tested) libraries such as OpenSSL should be used.

There are three methods to install r-cran-digest 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 r-cran-digest Using apt-get

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

sudo apt-get update

After updating apt database, We can install r-cran-digest using apt-get by running the following command:

sudo apt-get -y install r-cran-digest

Install r-cran-digest Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-digest using apt by running the following command:

sudo apt -y install r-cran-digest

Install r-cran-digest 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 r-cran-digest using aptitude by running the following command:

sudo aptitude -y install r-cran-digest

How To Uninstall r-cran-digest on Kali Linux

To uninstall only the r-cran-digest package we can use the following command:

sudo apt-get remove r-cran-digest

Uninstall r-cran-digest And Its Dependencies

To uninstall r-cran-digest and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove r-cran-digest

Remove r-cran-digest Configurations and Data

To remove r-cran-digest configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge r-cran-digest

Remove r-cran-digest configuration, data, and all of its dependencies

We can use the following command to remove r-cran-digest configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-digest

Dependencies

r-cran-digest have the following dependencies:

References

Summary

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