How To Install r-cran-rcurl on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-rcurl
on Kali Linux.
What is r-cran-rcurl
r-cran-rcurl is:
The package allows one to compose general HTTP requests and provides convenient functions to fetch URIs, get & post forms, etc. and process the results returned by the Web server. This provides a great deal of control over the HTTP/FTP/… connection and the form of the request while providing a higher-level interface than is available just using R socket connections. Additionally, the underlying implementation is robust and extensive, supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects, authentication, etc.
There are three methods to install r-cran-rcurl
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-rcurl 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-rcurl
using apt-get
by running the following command:
sudo apt-get -y install r-cran-rcurl
Install r-cran-rcurl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-rcurl
using apt
by running the following command:
sudo apt -y install r-cran-rcurl
Install r-cran-rcurl 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-rcurl
using aptitude
by running the following command:
sudo aptitude -y install r-cran-rcurl
How To Uninstall r-cran-rcurl on Kali Linux
To uninstall only the r-cran-rcurl
package we can use the following command:
sudo apt-get remove r-cran-rcurl
Uninstall r-cran-rcurl And Its Dependencies
To uninstall r-cran-rcurl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-rcurl
Remove r-cran-rcurl Configurations and Data
To remove r-cran-rcurl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-rcurl
Remove r-cran-rcurl configuration, data, and all of its dependencies
We can use the following command to remove r-cran-rcurl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-rcurl
Dependencies
r-cran-rcurl have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-rcurl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.