How To Install r-cran-httpuv on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-httpuv on Kali Linux.
What is r-cran-httpuv
r-cran-httpuv is:
The R package httpuv provides low-level socket and protocol support for handling HTTP and WebSocket requests directly from within R. It is primarily intended as a building block for other packages, rather than making it particularly easy to create complete web applications using httpuv alone. httpuv is built on top of the libuv and http-parser C libraries, both of which were developed by Joyent, Inc.
There are three methods to install r-cran-httpuv 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-httpuv Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install r-cran-httpuv using apt-get by running the following command:
sudo apt-get -y install r-cran-httpuvInstall r-cran-httpuv Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-httpuv using apt by running the following command:
sudo apt -y install r-cran-httpuvInstall r-cran-httpuv 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 updateAfter updating apt database, We can install r-cran-httpuv using aptitude by running the following command:
sudo aptitude -y install r-cran-httpuvHow To Uninstall r-cran-httpuv on Kali Linux
To uninstall only the r-cran-httpuv package we can use the following command:
sudo apt-get remove r-cran-httpuvUninstall r-cran-httpuv And Its Dependencies
To uninstall r-cran-httpuv and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-httpuvRemove r-cran-httpuv Configurations and Data
To remove r-cran-httpuv configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-httpuvRemove r-cran-httpuv configuration, data, and all of its dependencies
We can use the following command to remove r-cran-httpuv configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-httpuvDependencies
r-cran-httpuv have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-rcpp
- r-cran-r6
- r-cran-promises
- r-cran-later
- r-cran-bh
- libc6
- libgcc-s1
- libstdc++6
- libuv1
References
Summary
In this tutorial we learn how to install r-cran-httpuv package on Kali Linux using different package management tools: apt, apt-get and aptitude.