How To Install r-cran-openssl on Debian 10

Learn how to install r-cran-openssl on Debian 10 with this tutorial. r-cran-openssl is GNU R toolkit for encryption, signatures and certificates based on OpenSSL

Introduction

In this tutorial we learn how to install r-cran-openssl on Debian 10.

What is r-cran-openssl

r-cran-openssl is:

Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey parsers. Supports RSA, DSA and NIST curves P-256, P-384 and P-521. Cryptographic signatures can either be created and verified manually or via x509 certificates. AES block cipher is used in CBC mode for symmetric encryption; RSA for asymmetric (public key) encryption. High- level envelope functions combine RSA and AES for encrypting arbitrary sized data. Other utilities include key generators, hash functions (md5, sha1, sha256, etc), base64 encoder, a secure random number generator, and ‘bignum’ math methods for manually performing crypto calculations on large multibyte integers.

There are three methods to install r-cran-openssl on Debian 10. 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-openssl 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-openssl using apt-get by running the following command:

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

Install r-cran-openssl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-openssl

Install r-cran-openssl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install r-cran-openssl

How To Uninstall r-cran-openssl on Debian 10

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

sudo apt-get remove r-cran-openssl

Uninstall r-cran-openssl And Its Dependencies

To uninstall r-cran-openssl and its dependencies that are no longer needed by Debian 10, we can use the command below:

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

Remove r-cran-openssl Configurations and Data

To remove r-cran-openssl configuration and data from Debian 10 we can use the following command:

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

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

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

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

Dependencies

r-cran-openssl have the following dependencies:

References

Summary

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