How To Install r-cran-curl on Kali Linux

In this tutorial we learn how to install r-cran-curl on Kali Linux. r-cran-curl is GNU R modern and flexible web client for R

Introduction

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

What is r-cran-curl

r-cran-curl is:

The curl() and curl_download() functions provide highly configurable drop- in replacements for base url() and download.file() with better performance, support for encryption (https, ftps), gzip compression, authentication, and other libcurl goodies. The core of the package implements a framework for performing fully customized requests where data can be processed either in memory, on disk, or streaming via the callback or connection interfaces. Some knowledge of libcurl is recommended; for a more-user-friendly web client see the ‘httr’ package which builds on this package with http specific tools and logic.

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

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

Install r-cran-curl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-curl

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

sudo aptitude -y install r-cran-curl

How To Uninstall r-cran-curl on Kali Linux

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

sudo apt-get remove r-cran-curl

Uninstall r-cran-curl And Its Dependencies

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

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

Remove r-cran-curl Configurations and Data

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

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

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

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

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

Dependencies

r-cran-curl have the following dependencies:

References

Summary

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